RFR: 8328986: Deprecate UseRTM* flags for removal [v2]
Vladimir Kozlov
kvn at openjdk.org
Tue Mar 26 22:40:21 UTC 2024
On Tue, 26 Mar 2024 22:23:53 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>>> 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)
I want this PR to be clear message that we deprecate all RTM related flags with goal to remove all of them and RTM code from HotSpot.
Actually `java.1` man page listed `RTMAbortRatio` even so it is experimental. It listed product flags as well.
Which reminds me that I need to update `java.1` man page to move these flags to `DEPRECATED JAVA OPTIONS` section.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18478#discussion_r1540196410
More information about the hotspot-runtime-dev
mailing list