TagsManager uses JavaUtils#newConcurrentHashMap to speed up ConcurrentHashMap#computeIfAbsent.
Follow up #2844.
Why are the changes needed?
Celeborn supports JDK8, which could meet the bug mentioned in JDK-8161372. Therefore, it's better to use JavaUtils#newConcurrentHashMap to speed up ConcurrentHashMap#computeIfAbsent.
What changes were proposed in this pull request?
TagsManager
usesJavaUtils#newConcurrentHashMap
to speed upConcurrentHashMap#computeIfAbsent
.Follow up #2844.
Why are the changes needed?
Celeborn supports JDK8, which could meet the bug mentioned in JDK-8161372. Therefore, it's better to use
JavaUtils#newConcurrentHashMap
to speed upConcurrentHashMap#computeIfAbsent
.Does this PR introduce any user-facing change?
No.
How was this patch tested?
CI.