RFR: 8351187: Add JFR monitor notification event [v6]
Aleksey Shipilev
shade at openjdk.org
Tue Mar 18 10:20:18 UTC 2025
On Tue, 18 Mar 2025 07:20:27 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> We have `JavaMonitorWait` event, but no symmetric `JavaMonitorNotify` event. Notifications are important/interesting to track as well, for example to correlate the delay between notification and eventual wake up.
>>
>> Providing this event would also replace one of of the RT counters that are going away in [JDK-8348829](https://bugs.openjdk.org/browse/JDK-8348829).
>>
>> This counter is disabled by default to keep any potential impact low. We can consider flipping it to enabled by default later.
>>
>> 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 10 commits:
>
> - Indenting
> - Merge branch 'master' into JDK-8351187-jfr-monitor-notify
> - Merge branch 'master' into JDK-8351187-jfr-monitor-notify
> - Only emit event when notification happened
> - Merge branch 'master' into JDK-8351187-jfr-monitor-notify
> - Rewrite test to RecordingStream
> - Drop threshold to 0ms
> - Merge branch 'master' into JDK-8351187-jfr-monitor-notify
> - Disable by default
> - Fix
Thanks all! I re-tested and it looks green. So I am integrating.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23901#issuecomment-2732544197
More information about the hotspot-dev
mailing list