2022-09-13 Thread.sleep(0)的奇怪现象 安全点 程序人生 背景 先来看这么一段代码 public class Test { public static AtomicInteger num = new AtomicInteger(0); public stat