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

Andrey Turbanov aturbanov at openjdk.org
Thu Jul 21 10:24:15 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.

Thank you for review!

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

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


More information about the i18n-dev mailing list