equal
deleted
inserted
replaced
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 |