RFR: 8255987: JDI tests fail with com.sun.jdi.ObjectCollectedException
Per Liden
pliden at openjdk.java.net
Thu Dec 3 11:14:56 UTC 2020
On Tue, 1 Dec 2020 12:33:31 GMT, Per Liden <pliden at openjdk.org> wrote:
>>> 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.
As a result of the discussion in [JDK-8255987](https://bugs.openjdk.java.net/browse/JDK-8255987), I'm withdrawing this PR and will open a new PR with the alternative solution discussed in the bug report.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1348
More information about the serviceability-dev
mailing list