Java多线程 - volatile

216 阅读1分钟

volatile

What?

Why?

How?

实现原理

缓存

对象 Object

DCL 单例模式