RFR: 8307885: com/sun/jdi/ConnectedVMs.java fails with "Non-zero debuggee exitValue: 0"

Chris Plummer cjplummer at openjdk.org
Thu May 11 07:27:40 UTC 2023


When using -Xcomp, the 5 second sleep in the debuggee main thread is not long enough to guarantee using SIGTERM on the debuggee will make it exit(143) before the main thread exits cleanly with exitValue 0. The easiest solution is to just allow exitValue 0. See the CR for more details on other solutions I rejected.

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

Commit messages:
 - re-add deleted @run commands
 - allow 0 exitValue

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

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


More information about the serviceability-dev mailing list