http://blog.youkuaiyun.com/xuefeng0707/article/details/40834595
注:在jdk1.8之后,ConcurrentHashMap采用了CAS,1.7之前使用锁分离,也就是分段的hashTable
面试题--HashMap与ConcurrentHashMap的区别
最新推荐文章于 2025-07-10 22:27:59 发布
http://blog.youkuaiyun.com/xuefeng0707/article/details/40834595
注:在jdk1.8之后,ConcurrentHashMap采用了CAS,1.7之前使用锁分离,也就是分段的hashTable