On Mon, 17 Aug 2026 15:36:21 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). This pull request has now been integrated. Changeset: a010948b Author: Chris Plummer <[email protected]> URL: https://git.openjdk.org/jdk/commit/a010948b97da4c2ec0d06541d1b67b52b1a65313 Stats: 19 lines in 1 file changed: 19 ins; 0 del; 0 mod 8390339: Test vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt with virtual threads Reviewed-by: sspitsyn, kevinw ------------- PR: https://git.openjdk.org/jdk/pull/32399
