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

Aleksey Shipilev shade at openjdk.org
Mon Apr 7 08:04:07 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`

Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains five commits:

 - Do explicit thread
 - Merge branch 'master' into JDK-8352256-quick-notify-jfr
 - Merge branch 'master' into JDK-8352256-quick-notify-jfr
 - Review comment
 - Fix

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

Changes: https://git.openjdk.org/jdk/pull/24097/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24097&range=03
  Stats: 21 lines in 3 files changed: 14 ins; 4 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