Skip to content

Commit ecf83c9

Browse files
committed
8230730: UseCompressedOops test crash with assertion failure
Reviewed-by: stefank, eosterlund
1 parent c788d98 commit ecf83c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/oops/compressedOops.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void CompressedOops::initialize(const ReservedHeapSpace& heap_space) {
7979
false));
8080

8181
// base() is one page below the heap.
82-
assert((intptr_t)base() <= (intptr_t)(_heap_address_range.start() - os::vm_page_size()) ||
82+
assert((intptr_t)base() <= ((intptr_t)_heap_address_range.start() - os::vm_page_size()) ||
8383
base() == NULL, "invalid value");
8484
assert(shift() == LogMinObjAlignmentInBytes ||
8585
shift() == 0, "invalid value");

0 commit comments

Comments
 (0)