LongAdder源码分析
摘要:
之前一直没有重视LongAdder这个类,直到开始看ConcurrentHashMap源码后才发现在ConcurrentHashMap中计算map的size使用的正是LongAdder。 只不过ConcurrentHashMap并没有直接引用LongAdder,而是把LongAdder中的代码都拷贝 阅读全文
posted @ 2020-10-27 21:55 MaXianZhe 阅读(236) 评论(0) 推荐(0)
浙公网安备 33010602011771号