From b754aa5e3f231aea8da5274c330dc55dd78b0f67 Mon Sep 17 00:00:00 2001 From: Stefan Karlsson Date: Wed, 14 Dec 2022 11:04:49 +0000 Subject: [PATCH] 8298371: monitors_on_stack extracts unprocessed oops Reviewed-by: pchilanomate, rehn --- 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 645b6619cc8..ef4bacbbb98 100644 --- a/src/hotspot/share/runtime/continuationFreezeThaw.cpp +++ b/src/hotspot/share/runtime/continuationFreezeThaw.cpp @@ -1461,7 +1461,7 @@ static bool monitors_on_stack(JavaThread* thread) { ContinuationEntry* ce = thread->last_continuation(); RegisterMap map(thread, RegisterMap::UpdateMap::include, - RegisterMap::ProcessFrames::skip, + RegisterMap::ProcessFrames::include, RegisterMap::WalkContinuation::skip); map.set_include_argument_oops(false); for (frame f = thread->last_frame(); Continuation::is_frame_in_continuation(ce, f); f = f.sender(&map)) {