comparison src/share/vm/prims/jvmtiEnvThreadState.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 da91efe96a93
comparison
equal deleted inserted replaced
6174:74533f63b116 6197:d2a62e0f25eb
74 // 74 //
75 // A collection of JvmtiFramePop. 75 // A collection of JvmtiFramePop.
76 // It records what frames on a threads stack should post frame_pop events when they're exited. 76 // It records what frames on a threads stack should post frame_pop events when they're exited.
77 // 77 //
78 78
79 class JvmtiFramePops : public CHeapObj { 79 class JvmtiFramePops : public CHeapObj<mtInternal> {
80 private: 80 private:
81 GrowableArray<int>* _pops; 81 GrowableArray<int>* _pops;
82 82
83 // should only be used by JvmtiEventControllerPrivate 83 // should only be used by JvmtiEventControllerPrivate
84 // to insure they only occur at safepoints. 84 // to insure they only occur at safepoints.
105 // 2. Cache of pending frame_pop_events, created by NotifyFramePop 105 // 2. Cache of pending frame_pop_events, created by NotifyFramePop
106 // and lazily initialized. 106 // and lazily initialized.
107 // 3: Location of last executed instruction, used to filter out duplicate 107 // 3: Location of last executed instruction, used to filter out duplicate
108 // events due to instruction rewriting. 108 // events due to instruction rewriting.
109 109
110 class JvmtiEnvThreadState : public CHeapObj { 110 class JvmtiEnvThreadState : public CHeapObj<mtInternal> {
111 private: 111 private:
112 friend class JvmtiEnv; 112 friend class JvmtiEnv;
113 JavaThread *_thread; 113 JavaThread *_thread;
114 JvmtiEnv *_env; 114 JvmtiEnv *_env;
115 JvmtiEnvThreadState *_next; 115 JvmtiEnvThreadState *_next;