Closed SteNicholas closed 1 month ago
Closes #287.
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.
JavaUtils#newConcurrentHashMap
ConcurrentHashMap#computeIfAbsent
Cherry pick https://github.com/apache/celeborn/pull/2796.
Use JavaUtils#newConcurrentHashMap to speed up ConcurrentHashMap#computeIfAbsent.
No.
Which issue does this PR close?
Closes #287.
Rationale for this change
Celeborn supports JDK8, which could meet the bug mentioned in JDK-8161372. Therefore, it's better to use
JavaUtils#newConcurrentHashMap
to speed upConcurrentHashMap#computeIfAbsent
.Cherry pick https://github.com/apache/celeborn/pull/2796.
What changes are included in this PR?
Use
JavaUtils#newConcurrentHashMap
to speed upConcurrentHashMap#computeIfAbsent
.Are there any user-facing changes?
No.