RFR: 8328866: Add raw monitor rank support to the debug agent. [v8]

David Holmes dholmes at openjdk.org
Mon May 20 04:28:06 UTC 2024


On Mon, 20 May 2024 03:23:25 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> Unfortunately checking ownership means comparing jobjects, which you can't safely do if you are comparing to a jobject that could be freed at any moment

Okay but how does this `dbgRawMonitor` lock prevent the GC from clearing a jobject?

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

PR Comment: https://git.openjdk.org/jdk/pull/19044#issuecomment-2119642215


More information about the serviceability-dev mailing list