On Fri, 21 Aug 2026 19:18:38 GMT, Chris Plummer <[email protected]> wrote:

>> The test tries to do interrupts while all threads are suspended. With 
>> virtual threads this can cause a deadlock because some threads may need to 
>> make progress in order for JVMTI InterruptThread to work. Solution is to 
>> resume all but the main thread before issuing the interrupts.
>> 
>> The failure was very hard to reproduce. It took about 2700 runs. During 
>> testing of this fix I ran it about 5000 times and didn't see any issues.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Chris Plummer has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   fix comment typo

Marked as reviewed by sspitsyn (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/32399#pullrequestreview-5010411443

Reply via email to