RFR: 8255987: JDI tests fail with com.sun.jdi.ObjectCollectedException

Per Liden pliden at openjdk.java.net
Tue Dec 1 12:35:57 UTC 2020


On Mon, 30 Nov 2020 20:03:01 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Just a friendly ping. Still looking for reviewers for this fix.
>
>> Just a friendly ping. Still looking for reviewers for this fix.
> 
> Until we resolve the discussion in [JDK-8255987](https://bugs.openjdk.java.net/browse/JDK-8255987), I don't think your suggested fix should be applied since it could be viewed as a workaround to a debug agent issue (not shutting down GC during `VM.suspendAll`) or as something that needs to be clarified in the JDI and JDWP specs (checking for `ObjectReference.disableCollection` failures, even when under `VM.suspendAll`, and retrying the allocation). I'd like to see the discussion resolved and follow-on bugs files.

Sorry, I had missed your latest reply in the JDK-8255987. Let's continue the discussion there.

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

PR: https://git.openjdk.java.net/jdk/pull/1348


More information about the serviceability-dev mailing list