RFR: 8259349: -XX:AvgMonitorsPerThreadEstimate=1 does not work right [v3]
Daniel D.Daugherty
dcubed at openjdk.java.net
Fri Jan 8 19:34:13 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.
Daniel D. Daugherty has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
- dholmes CR - change AvgMonitorsPerThreadEstimate from 'intx' to 'int'; fix bad assert tripped by the now working AvgMonitorsPerThreadEstimate option.
- Merge branch 'master' into JDK-8259349
- Fix build error on windows.
- 8259349: -XX:AvgMonitorsPerThreadEstimate=1 does not work right
- 8259397: ThreadsSMRSupport::print_info_on() should use try_lock_without_rank_check()
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/1992/files
- new: https://git.openjdk.java.net/jdk/pull/1992/files/5b57bd9c..e68a5e5b
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1992&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1992&range=01-02
Stats: 4240 lines in 110 files changed: 1668 ins; 2377 del; 195 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