From 52f787f675146d98d3e2338b14b7cd6b1dba7bb8 Mon Sep 17 00:00:00 2001 From: Patricio Chilano Mateo Date: Thu, 18 Jan 2024 12:16:26 +0000 Subject: [PATCH] 8323595: is_aligned(p, alignof(OopT))) assertion fails in Jetty without compressed OOPs Reviewed-by: fparain, dlong --- src/hotspot/share/runtime/continuationFreezeThaw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/runtime/continuationFreezeThaw.cpp b/src/hotspot/share/runtime/continuationFreezeThaw.cpp index 26c915852e5..c9ddfa900dd 100644 --- a/src/hotspot/share/runtime/continuationFreezeThaw.cpp +++ b/src/hotspot/share/runtime/continuationFreezeThaw.cpp @@ -2181,7 +2181,7 @@ void ThawBase::clear_bitmap_bits(address start, address end) { log_develop_trace(continuations)("clearing bitmap for " INTPTR_FORMAT " - " INTPTR_FORMAT, p2i(start), p2i(effective_end)); stackChunkOop chunk = _cont.tail(); chunk->bitmap().clear_range(chunk->bit_index_for(start), chunk->bit_index_for(effective_end)); - assert(chunk->bitmap().count_one_bits(chunk->bit_index_for(effective_end), chunk->bit_index_for(end)) == 0, "bits should not be set"); + assert(effective_end == end || !chunk->bitmap().at(chunk->bit_index_for(effective_end)), "bit should not be set"); } NOINLINE void ThawBase::recurse_thaw_interpreted_frame(const frame& hf, frame& caller, int num_frames) {