< prev index next >

src/share/vm/memory/universe.hpp

Print this page
rev 11777 : [mq]: gcinterface.patch

*** 23,32 **** --- 23,33 ---- */ #ifndef SHARE_VM_MEMORY_UNIVERSE_HPP #define SHARE_VM_MEMORY_UNIVERSE_HPP + #include "gc/shared/gc.hpp" #include "runtime/handles.hpp" #include "utilities/array.hpp" #include "utilities/growableArray.hpp" // Universe is a name space holding known system classes and objects in the VM.
*** 183,195 **** // the vm thread. static oop _vm_exception; static oop _allocation_context_notification_obj; - // The particular choice of collected heap. - static CollectedHeap* _collectedHeap; - static intptr_t _non_oop_bits; // For UseCompressedOops. static struct NarrowPtrStruct _narrow_oop; // For UseCompressedClassPointers. --- 184,193 ----
*** 218,230 **** // Historic gc information static size_t _heap_capacity_at_last_gc; static size_t _heap_used_at_last_gc; - template <class Heap, class Policy> static CollectedHeap* create_heap_with_policy(); - static CollectedHeap* create_heap(); - static CollectedHeap* create_heap_ext(); static jint initialize_heap(); static void initialize_basic_type_mirrors(TRAPS); static void fixup_mirrors(TRAPS); static void reinitialize_vtable_of(KlassHandle h_k, TRAPS); --- 216,225 ----
*** 360,370 **** static Klass** singleArrayKlassObj_addr() { return &_singleArrayKlassObj; } static Klass** doubleArrayKlassObj_addr() { return &_doubleArrayKlassObj; } static Klass** objectArrayKlassObj_addr() { return &_objectArrayKlassObj; } // The particular choice of collected heap. ! static CollectedHeap* heap() { return _collectedHeap; } // For UseCompressedOops // Narrow Oop encoding mode: // 0 - Use 32-bits oops without encoding when // NarrowOopHeapBaseMin + heap_size < 4Gb --- 355,371 ---- static Klass** singleArrayKlassObj_addr() { return &_singleArrayKlassObj; } static Klass** doubleArrayKlassObj_addr() { return &_doubleArrayKlassObj; } static Klass** objectArrayKlassObj_addr() { return &_objectArrayKlassObj; } // The particular choice of collected heap. ! /* ! static CollectedHeap* heap() { ! GC* gc = GC::gc(); ! if (gc != NULL) return gc->heap(); ! else return NULL; ! } ! */ // For UseCompressedOops // Narrow Oop encoding mode: // 0 - Use 32-bits oops without encoding when // NarrowOopHeapBaseMin + heap_size < 4Gb
< prev index next >