Doing a suspend in a call setup transition breaks JVMTI PopFrame/ForceEarlyReturn because we report the top frame as the caller, but then proceed to the callee before processing the requested PopFrame/ForceEarlyReturn.
If JavaCallWrapper is the only place this happens, we should be able to find a localized fix. If there are more places where this can happen, we may want to change the rule that all safepoints are suspend points. Instead, instead of asking to reach a safepoint, we could ask to reach a "suspend safepoint".
If JavaCallWrapper is the only place this happens, we should be able to find a localized fix. If there are more places where this can happen, we may want to change the rule that all safepoints are suspend points. Instead, instead of asking to reach a safepoint, we could ask to reach a "suspend safepoint".
- blocks
-
JDK-8218885 Restore pop_frame and force_early_return functionality for Graal
-
- Resolved
-
- relates to
-
JDK-8219403 JVMCIRuntime::adjust_comp_level should be replaced
-
- Resolved
-
-
JDK-8255384 Remove special_runtime_exit_condition() check from SS::block()
-
- Resolved
-