Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/g1MMUTracker.hpp @ 6197:d2a62e0f25eb
6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking
Summary: Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
author | zgu |
---|---|
date | Thu, 28 Jun 2012 17:03:16 -0400 |
parents | f95d63e2154a |
children | b9a9ed0f8eeb |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
32 // and for how long so that the MMU invariants are maintained. | 32 // and for how long so that the MMU invariants are maintained. |
33 | 33 |
34 /***** ALL TIMES ARE IN SECS!!!!!!! *****/ | 34 /***** ALL TIMES ARE IN SECS!!!!!!! *****/ |
35 | 35 |
36 // this is the "interface" | 36 // this is the "interface" |
37 class G1MMUTracker: public CHeapObj { | 37 class G1MMUTracker: public CHeapObj<mtGC> { |
38 protected: | 38 protected: |
39 double _time_slice; | 39 double _time_slice; |
40 double _max_gc_time; // this is per time slice | 40 double _max_gc_time; // this is per time slice |
41 | 41 |
42 public: | 42 public: |