RFR: 8328986: Deprecate UseRTM* flags for removal [v2]

Vladimir Kozlov kvn at openjdk.org
Tue Mar 26 22:26:23 UTC 2024


On Tue, 26 Mar 2024 19:50:58 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> CSR may need only to list product flags but I decided to list them all in CSR too.
>
>> I listed all RTM flags to get VM's deprecation message for all of them.
> 
> Any particular point in doing so? IMO it looks excessive. Moreover, all flags imply `UseRTMLocking`. 
> 
> Also, I don't see any other non-product flags in `special_jvm_flags` table you modify.

Some RTM flags are guarded by `UseRTMLocking` and some are not: [java.cpp#L267](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/runtime/java.cpp#L267)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18478#discussion_r1540183079


More information about the hotspot-compiler-dev mailing list