摘要: 阅读全文
posted @ 2022-04-05 20:50 yydssc 阅读(28) 评论(0) 推荐(0)
摘要: public class CounterUnsafe { volatile int i = 0; private static Unsafe unsafe = null; //i字段的偏移量 private static long valueOffset; static { //unsafe = U 阅读全文
posted @ 2022-04-05 11:46 yydssc 阅读(100) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-04-05 11:44 yydssc 阅读(49) 评论(0) 推荐(0)