花费 18 ms
volatile可以保证有序性

1.无volatile /**volatile 有序性验证 * @author xueci * */ public class TestSequence { static int ...

Wed Apr 22 23:23:00 CST 2020 1 652

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM