8298371: monitors_on_stack extracts unprocessed oops

Reviewed-by: pchilanomate, rehn
This commit is contained in:
Stefan Karlsson 2022-12-14 11:04:49 +00:00
parent 220781fa56
commit b754aa5e3f

View File

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