RFR: 8307885: com/sun/jdi/ConnectedVMs.java fails with "Invalid debuggee exitValue: 0"
Chris Plummer
cjplummer at openjdk.org
Thu May 11 17:10:20 UTC 2023
On Thu, 11 May 2023 07:19:47 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> 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.
Thanks for the reviews Kevin and Serguei!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13923#issuecomment-1544371285
More information about the serviceability-dev
mailing list