On Mon, 20 May 2024 03:23:25 GMT, Chris Plummer <cjplum...@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