Exploration of new features of Java 8 (10) StampedLock will be the new favorite to solve synchronization problems
Research on the principle of StampedLock in JDK8
In-depth understanding of StampedLock and its implementation principle
JDK1.8 StampedLock source code analysis