< prev index next >

src/hotspot/share/oops/compressedOops.cpp

Print this page
rev 56197 : 8230730: UseCompressedOops test crash with assertion failure

*** 77,87 **** Arguments::PropertyList_add(new SystemProperty("java.vm.compressedOopsMode", mode_to_string(mode()), false)); // base() is one page below the heap. ! assert((intptr_t)base() <= (intptr_t)(_heap_address_range.start() - os::vm_page_size()) || base() == NULL, "invalid value"); assert(shift() == LogMinObjAlignmentInBytes || shift() == 0, "invalid value"); #endif } --- 77,87 ---- Arguments::PropertyList_add(new SystemProperty("java.vm.compressedOopsMode", mode_to_string(mode()), false)); // base() is one page below the heap. ! assert((intptr_t)base() <= ((intptr_t)_heap_address_range.start() - os::vm_page_size()) || base() == NULL, "invalid value"); assert(shift() == LogMinObjAlignmentInBytes || shift() == 0, "invalid value"); #endif }
< prev index next >