Browse Source
As per the Javadoc of ConcurrentHashMap its computeIfAbsent implementation is atomic and hence already synchronized internally, so we can remove the surrounding synchronization block. See gh-24470pull/24476/head
Rossen Stoyanchev
5 years ago
1 changed files with 3 additions and 8 deletions
Loading…
Reference in new issue