锁的原理:final、volatile、ThreadLocal、synchronized、Atomic(自己整理)
原文:https://www.cnblogs.com/cag2050/p/12408266.html