立即学习:https://edu.csdn.net/course/play/29000/405249?utm_source=blogtoedu
1、锁的升级
偏向锁:对象头里面 存储线程ID
2、线程的通信 wait/notify