RFR: 8292082: Deprecate UseRTM* for removal

Erik Österlund eosterlund at openjdk.org
Tue Aug 9 17:14:25 UTC 2022


On Tue, 9 Aug 2022 15:59:21 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> HotSpot supports RTM (restricted transactional memory) to be used for locking and deoptimization. RTM has since been disabled in Intel processors due to security vulnerabilities [0] and IBM removed support for it since its Power 10 line. RTM adds unnecessarily to complexity and maintenance burden.
> 
> I would like to propose to deprecate the relevant flags for removal, and actually remove the flags and all related code in a later release, unless somebody comes up with a good reason and performance comparison to show that it's worth keeping.
> 
> [0] https://en.wikipedia.org/wiki/Transactional_Synchronization_Extensions#History_and_bugs
> 
> Testing:
>  - [x] runtime/CommandLine/VMDeprecatedOptions.java
>  - [ ] tier1

Might need a CSR.

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

PR: https://git.openjdk.org/jdk/pull/9810


More information about the hotspot-compiler-dev mailing list