Executor,CountDownLatch,Future,CyclicBarrier,Phaser,Exchanger
线程可见volatile,线程隔离ThreadLocal,
解决并发业务冲突,加锁 同步锁synchronized
解决单例重复问题,双重检测锁
Executor,CountDownLatch,Future,CyclicBarrier,Phaser,Exchanger
线程可见volatile,线程隔离ThreadLocal,
解决并发业务冲突,加锁 同步锁synchronized
解决单例重复问题,双重检测锁
本文来自博客园,作者:我在上海的这几年,转载请注明原文链接:https://www.cnblogs.com/ukzq/p/16637177.html