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
On Thu, 7 Jan 2021 22:41:11 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:
> 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.
Note: I'm testing out stacking patches in Git so the changes to src/hotspot/share/runtime/threadSMR.cpp
are actually for https://bugs.openjdk.java.net/browse/JDK-8259397.
This is the correct commit for this PR review: https://github.com/openjdk/jdk/pull/1992/commits/0fe88c019910bb1e0335bd1f27d62eee78dbd558
-------------
PR: https://git.openjdk.java.net/jdk/pull/1992
More information about the hotspot-runtime-dev
mailing list