RFR: 8335134: Test com/sun/jdi/BreakpointOnClassPrepare.java timeout

Chris Plummer cjplummer at openjdk.org
Wed Jun 26 17:33:20 UTC 2024


Allow ObjectCollectedException during ThreadReference.toString() call. This can happen when using SUSPEND_NONE since the thread continues to run after hitting the breakpoint.

So far I've just run the test locally. I'll run the full suite of debugger tests before committing. Note I don't know how to reproduce the filed issue. We have not seen this turn up in our CI yet, but theoretically the ObjectCollectedException can happen.

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

Commit messages:
 - Allow ObjectCollectedException during ThreadReference.toString() call

Changes: https://git.openjdk.org/jdk/pull/19910/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19910&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8335134
  Stats: 9 lines in 1 file changed: 8 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/19910.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19910/head:pull/19910

PR: https://git.openjdk.org/jdk/pull/19910


More information about the serviceability-dev mailing list