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)) {