< prev index next >

src/hotspot/share/memory/universe.hpp

Print this page

        

*** 196,208 **** static struct NarrowPtrStruct _narrow_klass; static address _narrow_ptrs_base; // CompressedClassSpaceSize set to 1GB, but appear 3GB away from _narrow_ptrs_base during CDS dump. static uint64_t _narrow_klass_range; - // value type using klass alignment encoded as oop metadata - static int _oop_metadata_valuetype_mask; - // array of dummy objects used with +FullGCAlot debug_only(static objArrayOop _fullgc_alot_dummy_array;) // index of next entry to clear debug_only(static int _fullgc_alot_dummy_next;) --- 196,205 ----
*** 456,472 **** } static void set_narrow_klass_shift(int shift) { assert(shift == 0 || shift == LogKlassAlignmentInBytes, "invalid shift for klass ptrs"); _narrow_klass._shift = shift; - if (shift == LogKlassAlignmentInBytes) { - _oop_metadata_valuetype_mask = 1; - } } - static int oop_metadata_valuetype_mask() { return _oop_metadata_valuetype_mask; } - // Reserve Java heap and determine CompressedOops mode static ReservedSpace reserve_heap(size_t heap_size, size_t alignment); // Historic gc information static size_t get_heap_capacity_at_last_gc() { return _heap_capacity_at_last_gc; } --- 453,464 ----
< prev index next >