cas不能保证可见性,原子类加volatile只是用在set和get方法