摘要: public class AtomicReference implements java.io.Serializable { private static final long serialVersionUID = -1848883965231344442L; private static final Unsafe unsafe = Unsafe.getUnsafe(); ... 阅读全文
posted @ 2019-04-21 18:18 无天666 阅读(463) 评论(0) 推荐(0) 编辑
摘要: public class Snippet { //修改的是AtomicStampedReference对象里面的值了。 public static void main(String[] args) { //现在AtomicStampedReference里面的pair是{aaa,1}, AtomicStampedReference ... 阅读全文
posted @ 2019-04-21 12:50 无天666 阅读(479) 评论(0) 推荐(0) 编辑