RFR: 8352256: ObjectSynchronizer::quick_notify misses JFR event notification path [v3]

Aleksey Shipilev shade at openjdk.org
Thu Apr 3 11:51:06 UTC 2025


On Thu, 3 Apr 2025 07:39:36 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Again just for clarity the quick versions are for use when you 100% guarantee the monitor is owned. They do not need to, and cannot, check the owner and potentially throw IMSE.

I don't think new quick versions do. We only `assert(check_owner(...))`, but I think that is "safe" in the sense we fail hard if monitor is not owned.

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

PR Comment: https://git.openjdk.org/jdk/pull/24097#issuecomment-2775502889


More information about the hotspot-runtime-dev mailing list