RFR: 8369482: JVMTI + Loom: JDK-8368159 introduced safepoint poll in disallowed state

Patricio Chilano Mateo pchilanomate at openjdk.org
Fri Oct 10 20:37:02 UTC 2025


On Fri, 10 Oct 2025 19:48:47 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

> > So after freezing for the preempt case we should also call invalidate_jvmti_stack() in case there are FramePop requests in the carrier. I’m guessing we don’t have tests for this. But we could address it in a separate bug.
> 
> We have `jvmti_yield_cleanup()` call in the `freeze_epilog()` which is called from the `preempt_epilog()`. The `jvmti_yield_cleanup()` has a call to `invalidate_jvmti_stack()`. Do I miss anything?
>
Yes, but we are calling the other overload of `freeze_epilog()` which only logs and verifies the continuation. : )

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27716#issuecomment-3392242151


More information about the hotspot-dev mailing list