You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@uniffle.apache.org by "advancedxy (via GitHub)" <gi...@apache.org> on 2023/01/30 08:04:19 UTC

[GitHub] [incubator-uniffle] advancedxy commented on issue #519: [Improvement] Speed up ConcurrentHashMap#computeIfAbsent

advancedxy commented on issue #519:
URL: https://github.com/apache/incubator-uniffle/issues/519#issuecomment-1408147883

   Ouch, does `putIfAbsent` has similar issue under JDK 8?
   
   If `putIfAbsent` doesn't have this problem, I believe we should prefer `putIfAbsent` for simple cases to improve readability. 
   
   Otherwise, I'm opt for this solution.
   
   BTW, https://cwiki.apache.org/confluence/display/HADOOP/Hadoop+Java+Versions JDK 1.8 seems to be lasting for a long time since only hadoop 3.3 supports JDK11 in runtime.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org