RFR: 8334904: Add some perf counters to monitor the usage of VM locks
Calvin Cheung
ccheung at openjdk.org
Mon Jul 1 17:10:30 UTC 2024
Adding a few perf counters to monitor the usage of VM locks. The counters include hold time, wait time, and number of events. They can be enabled via `-Xlog:pref+vmlocks`.
Please refer to the [comment](https://bugs.openjdk.org/browse/JDK-8334904?focusedId=14684322&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14684322) in the bug report for an example output.
Passed tiers 1 - 4 testing.
-------------
Commit messages:
- fix linux-x86 build failure
- 8334904: Add some perf counters to monitor the usage of VM locks
Changes: https://git.openjdk.org/jdk/pull/19954/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19954&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8334904
Stats: 172 lines in 10 files changed: 168 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/19954.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19954/head:pull/19954
PR: https://git.openjdk.org/jdk/pull/19954
More information about the hotspot-runtime-dev
mailing list