OpenJDK / jdk / jdk
changeset 56201:c7374ff3f3a3
8230730: UseCompressedOops test crash with assertion failure
Reviewed-by: stefank, eosterlund
author | zgu |
---|---|
date | Sat, 07 Sep 2019 10:04:07 -0400 |
parents | aa3715655834 |
children | d99af76d7689 |
files | src/hotspot/share/oops/compressedOops.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/share/oops/compressedOops.cpp Sat Sep 07 15:44:04 2019 +0200 +++ b/src/hotspot/share/oops/compressedOops.cpp Sat Sep 07 10:04:07 2019 -0400 @@ -79,7 +79,7 @@ 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");