JDK 17 | JDK 21 |
---|---|
17.0.9-oracleFixed | 21 b23Fixed |
The EnableThreadSMRExtraValidityChecks diagnostic option is broken and should be removed. If -XX:-EnableThreadSMRExtraValidityChecks is specified the ThreadsListHandle::cv_internal_thread_to_JavaThread() function can return an unprotected JavaThread* and use of that JavaThread* can result in crashes. This was discussed during the reviews for the following fix: JDK-8305670 Performance regression in LockSupport.unpark with lots of idle threads
|