会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chendsome
:>人生如逆旅,我亦是行人。
博客园
首页
新随笔
联系
订阅
管理
2024年11月28日
【JUC】ConcurrentHashMap之computeIfAbsent
摘要: ConcurrentHashMap之computeIfAbsent ConcurrentHashMap的锁粒度更细 锁的是桶中的元素,并且只锁表头元素 public class TGestWordCount { public static void main(String[] args) { dem
阅读全文
posted @ 2024-11-28 15:23 chendsome
阅读(52)
评论(0)
推荐(0)
公告