comparison src/share/vm/memory/universe.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 b632e80fc9dc
children 24b9c7f4cae6
comparison
equal deleted inserted replaced
6174:74533f63b116 6197:d2a62e0f25eb
41 41
42 42
43 // Common parts of a methodOop cache. This cache safely interacts with 43 // Common parts of a methodOop cache. This cache safely interacts with
44 // the RedefineClasses API. 44 // the RedefineClasses API.
45 // 45 //
46 class CommonMethodOopCache : public CHeapObj { 46 class CommonMethodOopCache : public CHeapObj<mtClass> {
47 // We save the klassOop and the idnum of methodOop in order to get 47 // We save the klassOop and the idnum of methodOop in order to get
48 // the current cached methodOop. 48 // the current cached methodOop.
49 private: 49 private:
50 klassOop _klass; 50 klassOop _klass;
51 int _method_idnum; 51 int _method_idnum;
453 453
454 // Compiler support 454 // Compiler support
455 static int base_vtable_size() { return _base_vtable_size; } 455 static int base_vtable_size() { return _base_vtable_size; }
456 }; 456 };
457 457
458 class DeferredObjAllocEvent : public CHeapObj { 458 class DeferredObjAllocEvent : public CHeapObj<mtInternal> {
459 private: 459 private:
460 oop _oop; 460 oop _oop;
461 size_t _bytesize; 461 size_t _bytesize;
462 jint _arena_id; 462 jint _arena_id;
463 463