RFR: 8259349: -XX:AvgMonitorsPerThreadEstimate=1 does not work right
Daniel D.Daugherty
dcubed at openjdk.java.net
Thu Jan 7 22:50:03 UTC 2021
This is a trivial fix to make the "-XX:AvgMonitorsPerThreadEstimate"
option work correctly for values < 1024.
I've locally built and tested this fix on my MBP13. It will be included in my
next Mach5 Tier[1-3] testing batch.
-------------
Commit messages:
- 8259349: -XX:AvgMonitorsPerThreadEstimate=1 does not work right
- 8259397: ThreadsSMRSupport::print_info_on() should use try_lock_without_rank_check()
Changes: https://git.openjdk.java.net/jdk/pull/1992/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1992&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8259349
Stats: 13 lines in 3 files changed: 8 ins; 0 del; 5 mod
Patch: https://git.openjdk.java.net/jdk/pull/1992.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1992/head:pull/1992
PR: https://git.openjdk.java.net/jdk/pull/1992
More information about the hotspot-runtime-dev
mailing list