RFR: 8281615: Deadlock caused by jdwp agent [v4]

Chris Plummer cjplummer at openjdk.java.net
Thu Feb 17 05:24:06 UTC 2022


On Thu, 17 Feb 2022 02:16:41 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Okay I see from later comments that in fact no such race exists, but we have to synchronize with cbTrackingObjectFree
>
> Bah! But then a comment after that says it does exist again.
> 
> There seem to be issues understanding exactly what the concurrent call sequences can be with this code.

I think you might be confusing `classTrack_activate()` with `classTrack_reset()`. I believe the former has a race but the latter does not.

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

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


More information about the serviceability-dev mailing list