comparison src/share/vm/runtime/safepoint.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 0382d2b469b2
children 63a4eb8bcd23 78bbf4d43a14
comparison
equal deleted inserted replaced
6174:74533f63b116 6197:d2a62e0f25eb
188 188
189 static address safepoint_counter_addr() { return (address)&_safepoint_counter; } 189 static address safepoint_counter_addr() { return (address)&_safepoint_counter; }
190 }; 190 };
191 191
192 // State class for a thread suspended at a safepoint 192 // State class for a thread suspended at a safepoint
193 class ThreadSafepointState: public CHeapObj { 193 class ThreadSafepointState: public CHeapObj<mtInternal> {
194 public: 194 public:
195 // These states are maintained by VM thread while threads are being brought 195 // These states are maintained by VM thread while threads are being brought
196 // to a safepoint. After SafepointSynchronize::end(), they are reset to 196 // to a safepoint. After SafepointSynchronize::end(), they are reset to
197 // _running. 197 // _running.
198 enum suspend_type { 198 enum suspend_type {