问题2: 共享的long和double变量的为什么要用volatile? volatile 的实现原理. volatile 可见性实现. lock 指令; 缓存一致性. volatile 有序性实现.
確定! 回上一頁