RFR: 8276901: Implement UseHeavyMonitors consistently [v4]

David Holmes dholmes at openjdk.java.net
Thu Nov 18 06:50:39 UTC 2021


On Wed, 17 Nov 2021 22:21:53 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> src/hotspot/share/runtime/globals.hpp line 1072:
>> 
>>> 1070:                                                                             \
>>> 1071:   product(bool, UseHeavyMonitors, false,                                    \
>>> 1072:           "use heavyweight instead of lightweight Java monitors")           \
>> 
>> For deprecated flags, make the description:
>> "(Deprecated) Use heavyweight instead of lightweight Java monitors"
>
> Also there's some test somewhere that you have to add this flag to.  @dholmes-ora would know where that is.

`./runtime/CommandLine/VMDeprecatedOptions.java` :)

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

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


More information about the hotspot-compiler-dev mailing list