RFR: 8352256: ObjectSynchronizer::quick_notify misses JFR event notification path

Aleksey Shipilev shade at openjdk.org
Tue Mar 18 11:49:09 UTC 2025


Noticed this while removing OM counters. When doing [JDK-8351187](https://bugs.openjdk.org/browse/JDK-8351187), I apparently forgot to cover a path from `ObjectSynchronizer::quick_notify`, probably due to concurrent renames. I think we can cover this gap while still simplifying the code: let `ObjectMonitor` handle all events, DTrace, JFR, OM stats.

Additional testing:
 - [x] Linux x86_64 server fastdebug, `jdk_jfr`

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

Commit messages:
 - Fix

Changes: https://git.openjdk.org/jdk/pull/24097/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24097&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8352256
  Stats: 26 lines in 3 files changed: 16 ins; 7 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/24097.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24097/head:pull/24097

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


More information about the hotspot-runtime-dev mailing list