对volatile新特性不太了解,http://www.iteye.com/topic/344876推荐你看个博客,或者去看看源码,最好是1.7的,1.8的源码有点乱