标签: java synchronized concurrenthashmap reentrantlock
ConcurrentHashMap的'computeIfAbsent'方法内部有代码:
synchronized (r) { if (casTabAt(tab, i, null, r)) { ...
为什么不'ReentrantLock'?