<i18n dev> RFR: 8288723: Avoid redundant ConcurrentHashMap.get call in java.time [v4]

Roger Riggs rriggs at openjdk.org
Wed Jul 20 18:16:00 UTC 2022


On Wed, 20 Jul 2022 11:19:07 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

>> Instead of separate ConcurrentHashMap.get call, we can use result of previous putIfAbsent call.
>
> Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8288723: Avoid redundant ConcurrentHashMap.get call in java.time
>   
>   revert 'computeIfAbsent' when it requires custom key class.

Looks good, thanks

-------------

Marked as reviewed by rriggs (Reviewer).

PR: https://git.openjdk.org/jdk/pull/9208


More information about the i18n-dev mailing list