On Sat, 9 Aug 2025 20:30:14 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:

> The method
> get_jvmti_thread_state()
> should be called only while thread is in vm state.
> 
> The post_method_exit is doing some preparation before switching to vm state. 
> This cause issues if thread is needed to initialize jvmti thread state.
> 
> The fix was found using jvmti stress agent and thus no additional regression 
> test is required.

Thank you for catching and addressing this! How was the fix tested?
It looks okay at a glance but may give surprises.

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

PR Review: https://git.openjdk.org/jdk/pull/26713#pullrequestreview-3108454887

Reply via email to