When thawing in the fast path the top frame could be a runtime stub due to preempting on monitorenter. The changes for JDK-8336845 missed this and always consider the top frame will be compiled:
if (f.cb()->as_nmethod_or_null()->needs_stack_repair()) {
return remove_scalarized_frames(f, chunk, argsize);
}
if (f.cb()->as_nmethod_or_null()->needs_stack_repair()) {
return remove_scalarized_frames(f, chunk, argsize);
}
- caused by
-
JDK-8336845 [lworld] Virtual threads don't support the value class calling convention
-
- Resolved
-
- links to
-
Commit(lworld) openjdk/valhalla/feee12a2
-
Review(lworld) openjdk/valhalla/1603