comparison src/share/vm/code/nmethod.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 500023bd0818
children 957c266d8bc5 da91efe96a93
comparison
equal deleted inserted replaced
6174:74533f63b116 6197:d2a62e0f25eb
29 #include "code/pcDesc.hpp" 29 #include "code/pcDesc.hpp"
30 30
31 // This class is used internally by nmethods, to cache 31 // This class is used internally by nmethods, to cache
32 // exception/pc/handler information. 32 // exception/pc/handler information.
33 33
34 class ExceptionCache : public CHeapObj { 34 class ExceptionCache : public CHeapObj<mtCode> {
35 friend class VMStructs; 35 friend class VMStructs;
36 private: 36 private:
37 enum { cache_size = 16 }; 37 enum { cache_size = 16 };
38 klassOop _exception_type; 38 klassOop _exception_type;
39 address _pc[cache_size]; 39 address _pc[cache_size];