comparison src/share/vm/opto/runtime.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 0105f367a14c
children da91efe96a93
comparison
equal deleted inserted replaced
6174:74533f63b116 6197:d2a62e0f25eb
53 // 53 //
54 // NamedCounters are tagged counters which can be used for profiling 54 // NamedCounters are tagged counters which can be used for profiling
55 // code in various ways. Currently they are used by the lock coarsening code 55 // code in various ways. Currently they are used by the lock coarsening code
56 // 56 //
57 57
58 class NamedCounter : public CHeapObj { 58 class NamedCounter : public CHeapObj<mtCompiler> {
59 public: 59 public:
60 enum CounterTag { 60 enum CounterTag {
61 NoTag, 61 NoTag,
62 LockCounter, 62 LockCounter,
63 EliminatedLockCounter, 63 EliminatedLockCounter,