> 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 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32399/files - new: https://git.openjdk.org/jdk/pull/32399/files/fc51985e..ad1aa992 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32399&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32399&range=00-01 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/32399.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32399/head:pull/32399 PR: https://git.openjdk.org/jdk/pull/32399
