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; |