On Wed, 13 May 2026 17:35:40 GMT, Chris Plummer <[email protected]> wrote:
> After receiving the expected 4 ThreadDeathEvents, the test disables the > ThreadDeathRequest and stops processing events. However, there is already > another ThreadDeathEvent in flight for the UsageTracker thread. That results > in suspending all debuggee threads, with the expectation that the debugger > will eventually process the event and do an eventSet.resume(). That never > happens, leaving the debuggee suspended while the debugger waits for the > debuggee to send a DONE command, which it can't because it is suspended. > > After disabling the ThreadDeathRequest, the debuggee needs to make sure all > pending events get processed. > > Tested by running thread001 about 600 times with JTREG_USAGE_TRACKER=true > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). Hi, what does `JTREG_USAGE_TRACKER=true` mean to. I can't find the related documents. ------------- PR Comment: https://git.openjdk.org/jdk/pull/31156#issuecomment-4452181103
