mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +02:00
8230730: UseCompressedOops test crash with assertion failure
Reviewed-by: stefank, eosterlund
This commit is contained in:
parent
c788d9841c
commit
ecf83c94b8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue