http://blog.csdn.net/xuefeng0707/article/details/40834595
注:在jdk1.8之后,ConcurrentHashMap采用了CAS,1.7之前使用锁分离,也就是分段的hashTable
面试题--HashMap与ConcurrentHashMap的区别
最新推荐文章于 2024-07-18 19:00:35 发布
http://blog.csdn.net/xuefeng0707/article/details/40834595
注:在jdk1.8之后,ConcurrentHashMap采用了CAS,1.7之前使用锁分离,也就是分段的hashTable