RFR: 8256811: Delayed/missed jdwp class unloading events [v3]

Chris Plummer cjplummer at openjdk.org
Mon Jun 27 17:03:22 UTC 2022


On Sun, 26 Jun 2022 11:52:28 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> This patch is intended to not post ObjectFree events on VMThread, so I am going to move this PR back to draft state and take another look.

I'm not so sure it matters to the debug agent. I thought the main change here was to not force posting of ObjectFree events to be deferred to the VMThread, and to change the debug agent to send the CLASS_UNLOAD events right away rather than accumulating them and waiting for a GCFinishEvent. Is there any issue if the posting of ObjectFree and sending of CLASS_UNLOAD is done on the VMThread?

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

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


More information about the serviceability-dev mailing list