Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/shared/gcPolicyCounters.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 |
---|---|
28 #include "runtime/perfData.hpp" | 28 #include "runtime/perfData.hpp" |
29 | 29 |
30 // GCPolicyCounters is a holder class for performance counters | 30 // GCPolicyCounters is a holder class for performance counters |
31 // that track a generation | 31 // that track a generation |
32 | 32 |
33 class GCPolicyCounters: public CHeapObj { | 33 class GCPolicyCounters: public CHeapObj<mtGC> { |
34 friend class VMStructs; | 34 friend class VMStructs; |
35 | 35 |
36 private: | 36 private: |
37 | 37 |
38 // Constant PerfData types don't need to retain a reference. | 38 // Constant PerfData types don't need to retain a reference. |