RFR: 8259349: -XX:AvgMonitorsPerThreadEstimate=1 does not work right [v6]

Daniel D.Daugherty dcubed at openjdk.java.net
Mon Jan 11 21:41:23 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 incrementally with one additional commit since the last revision:

  change AvgMonitorsPerThreadEstimate from int to size_t and _in_use_list_ceiling from jint to size_t.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1992/files
  - new: https://git.openjdk.java.net/jdk/pull/1992/files/1fa734f6..7737506c

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1992&range=05
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1992&range=04-05

  Stats: 13 lines in 2 files changed: 0 ins; 6 del; 7 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