RFR: 8328986: Deprecate UseRTM* flags for removal

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


On Tue, 26 Mar 2024 17:12:41 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> @vnkozlov looks reasonable. What about `NoRTMLockEliding`? I guess it is a compiler option. How does that have to be handled?

We currently don't have mechanism to handle deprecation for `CompileCommand` options. But in both places, [methodData.cpp#L1338](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/oops/methodData.cpp#L1338) and [compile.cpp#L1083](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/compile.cpp#L1083), it is guarded by `UseRTMLocking` flag check so we will get deprecation notification for `UseRTMLocking`.

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

PR Comment: https://git.openjdk.org/jdk/pull/18478#issuecomment-2021173692


More information about the hotspot-compiler-dev mailing list