RFR: 8259349: -XX:AvgMonitorsPerThreadEstimate=1 does not work right [v4]
Coleen Phillimore
coleenp at openjdk.java.net
Fri Jan 8 23:11:59 UTC 2021
On Fri, 8 Jan 2021 22:39:57 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:
>> src/hotspot/share/runtime/synchronizer.cpp line 257:
>>
>>> 255: // which is called after cmd line options are processed.
>>> 256: // This is a 'jint' because the range of AvgMonitorsPerThreadEstimate
>>> 257: // is 0..max_jint:
>>
>> Do we need this comment now?
>
> Yes. The range for AvgMonitorsPerThreadEstimate is still 0..max_jint.
what would happen if this option was set to max_jint? Is it a reasonable max?
-------------
PR: https://git.openjdk.java.net/jdk/pull/1992
More information about the hotspot-runtime-dev
mailing list