comparison src/share/vm/runtime/monitorChunk.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/synchronizer.hpp" 28 #include "runtime/synchronizer.hpp"
29 29
30 // Data structure for holding monitors for one activation during 30 // Data structure for holding monitors for one activation during
31 // deoptimization. 31 // deoptimization.
32 32
33 class MonitorChunk: public CHeapObj { 33 class MonitorChunk: public CHeapObj<mtInternal> {
34 private: 34 private:
35 int _number_of_monitors; 35 int _number_of_monitors;
36 BasicObjectLock* _monitors; 36 BasicObjectLock* _monitors;
37 BasicObjectLock* monitors() const { return _monitors; } 37 BasicObjectLock* monitors() const { return _monitors; }
38 MonitorChunk* _next; 38 MonitorChunk* _next;