Mercurial > hg > truffle
comparison src/share/vm/runtime/vframe_hp.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 | 957c266d8bc5 da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
87 // store updated locals in a data structure that contains enough | 87 // store updated locals in a data structure that contains enough |
88 // information to recognize equality with a vframe and to store | 88 // information to recognize equality with a vframe and to store |
89 // any updated locals. | 89 // any updated locals. |
90 | 90 |
91 class jvmtiDeferredLocalVariable; | 91 class jvmtiDeferredLocalVariable; |
92 class jvmtiDeferredLocalVariableSet : public CHeapObj { | 92 class jvmtiDeferredLocalVariableSet : public CHeapObj<mtCompiler> { |
93 private: | 93 private: |
94 | 94 |
95 methodOop _method; // must be GC'd | 95 methodOop _method; // must be GC'd |
96 int _bci; | 96 int _bci; |
97 intptr_t* _id; | 97 intptr_t* _id; |
117 ~jvmtiDeferredLocalVariableSet(); | 117 ~jvmtiDeferredLocalVariableSet(); |
118 | 118 |
119 | 119 |
120 }; | 120 }; |
121 | 121 |
122 class jvmtiDeferredLocalVariable : public CHeapObj { | 122 class jvmtiDeferredLocalVariable : public CHeapObj<mtCompiler> { |
123 public: | 123 public: |
124 | 124 |
125 jvmtiDeferredLocalVariable(int index, BasicType type, jvalue value); | 125 jvmtiDeferredLocalVariable(int index, BasicType type, jvalue value); |
126 | 126 |
127 BasicType type(void) { return _type; } | 127 BasicType type(void) { return _type; } |