摘要: public class Demo3Volatile { public static void main(String[] args) throws InterruptedException { VolatileDemo demo = new VolatileDemo(); List<Thread> 阅读全文
posted @ 2021-11-20 20:20 AngDH 阅读(26) 评论(0) 推荐(0) 编辑
摘要: public class Demo1Jmm { public static void main(String[] args) throws InterruptedException { JmmDemo demo = new JmmDemo(); Thread t = new Thread(demo) 阅读全文
posted @ 2021-11-20 20:11 AngDH 阅读(18) 评论(0) 推荐(0) 编辑