RFR: 8276901: Implement UseHeavyMonitors consistently [v4]

Coleen Phillimore coleenp at openjdk.java.net
Wed Nov 17 22:24:46 UTC 2021


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

>> Roman Kennke has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Fix formatting
>>  - Keep UseHeavyMonitors as release flag, but deprecate it
>
> 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.

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

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


More information about the hotspot-compiler-dev mailing list