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

David Holmes dholmes at openjdk.java.net
Tue Jan 12 08:46:01 UTC 2021


On Tue, 12 Jan 2021 00:02:34 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> 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.
>
> src/hotspot/share/runtime/globals.hpp line 721:
> 
>> 719:           "Used to estimate a variable ceiling based on number of threads " \
>> 720:           "for use with MonitorUsedDeflationThreshold (0 is off).")         \
>> 721:           range(0, max_uintx)                                               \
> 
> This matches all the other size_t ranges.

Yes it matches - but pity we don't have a max_size_t definition :(

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

PR: https://git.openjdk.java.net/jdk/pull/1992


More information about the hotspot-runtime-dev mailing list