mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-16 00:19:27 +00:00
8230730: UseCompressedOops test crash with assertion failure
Reviewed-by: stefank, eosterlund
This commit is contained in:
parent
c788d9841c
commit
ecf83c94b8
@ -79,7 +79,7 @@ void CompressedOops::initialize(const ReservedHeapSpace& heap_space) {
|
||||
false));
|
||||
|
||||
// base() is one page below the heap.
|
||||
assert((intptr_t)base() <= (intptr_t)(_heap_address_range.start() - os::vm_page_size()) ||
|
||||
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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user