On Tue, 1 Dec 2026 03:11:12 GMT, Serguei Spitsyn <[email protected]> wrote:

>> During exit VM disable execution of new JVMTI events and waits for already 
>> started events before  changing jvmti phase to dead.  
>> 
>> Thus it exits from VM event then it block itself. The fix updates vm_death 
>> to wait only events on the other threads. 
>> 
>> 
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Nit: You may want to consider adding additional test coverage for callbacks 
> active on other threads. It would add a complexity to the test though.

@sspitsyn, @plummercj Thank you for review.

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

PR Comment: https://git.openjdk.org/jdk/pull/34135#issuecomment-7357372015

Reply via email to