The change of default locking mode for JDK 22 is being restored to LM_LEGACY due to remaining stability and performance issues that have been uncovered with lightweight locking, for which solutions have not yet been found, but are being actively investigated. We will make the change in JDK 23 instead.
- relates to
-
JDK-8319251 [REDO] Change LockingMode default from LM_LEGACY to LM_LIGHTWEIGHT
- Resolved
-
JDK-8315880 Change LockingMode default from LM_LEGACY to LM_LIGHTWEIGHT
- Closed