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

Patricio Chilano Mateo pchilanomate at openjdk.org
Mon Oct 13 13:50:01 UTC 2025


On Fri, 10 Oct 2025 22:29:56 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

> > Yes, but we are calling the other overload of freeze_epilog() which only logs and verifies the continuation. : )
> 
> I see, thanks! Do I understand it right that there is no need to call the `jvmti_yield_cleanup()` in this case? Does the preempt_epilog() is called for pure continuations as well?
> 
> I've filed new JVMTI bug: [8369609](https://bugs.openjdk.org/browse/JDK-8369609) Continuations preempt_epilog is missing a call to invalidate_jvmti_stack
>
Yes, only `invalidate_jvmti_stack` is missing since `preempt_epilog` is only called in the virtual thread case.
Thanks for filing the bug Serguei!

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

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


More information about the serviceability-dev mailing list