LearningJDK icon indicating copy to clipboard operation
LearningJDK copied to clipboard

JDK源码阅读笔记

Results 2 LearningJDK issues
Sort by recently updated
recently updated
newest added

StampedLock在获取读锁,在锁数量溢出时,为什么使用CAS设置了状态,又把状态还原? ![Image](https://github.com/user-attachments/assets/a280c324-1f64-4c26-b337-33920c835cc8) 如果状态还原了,下面的逻辑应该不会执行了吧?