JDK 23 |
---|
23 b16Fixed |
CSR :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
HotSpot supports RTM (restricted transactional memory) to be used for locking since JDK 8 on Intel's CPU (JDK-8031320). It was added to other platforms but has since been disabled and removed on all but Intel processors. There was attempt to deprecate it (JDK-8292082) during JDK 20 development but at that time it was decided to keep it. Recently we discussed this with Intel and they agreed with RTM deprecation and removal from HotSpot. RTM adds unnecessarily to complexity and maintenance burden. It was never enabled by default because it only helped with some heavy lock contentions. Additionally new LIGHTWEIGHT locking implementation will not support it: JDK-8320321. I propose to deprecate the related flags and remove the flags and all related code in a later release according to process.
|