On Thu, 2 Jul 2026 16:32:05 GMT, Chris Plummer <[email protected]> wrote:
> The test wasn't consuming all ThreadStartEvents, meaning that > eventSet.resume() wasn't called, which left threads suspended, which meant > the debuggee never exited, which caused the debugger to timeout waiting for > it to exit. Updated EventListener to ignore the `isConnected` flag until > there are no more events. > > The issue turned up about 1 in every 25000 runs. I ran about 75000 times with > the fix without 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: c4a8cb23 Author: Chris Plummer <[email protected]> URL: https://git.openjdk.org/jdk/commit/c4a8cb23496cc6851ca71de2e2b15ec09f5cb742 Stats: 10 lines in 1 file changed: 4 ins; 0 del; 6 mod 8387640: vmTestbase/nsk/jdi/EventRequestManager/threadStartRequests/thrstartreq001/TestDescription.java fails intermittently Reviewed-by: sspitsyn, lmesnik ------------- PR: https://git.openjdk.org/jdk/pull/31756
