<i18n dev> Integrated: 8288723: Avoid redundant ConcurrentHashMap.get call in java.time

Andrey Turbanov aturbanov at openjdk.org
Thu Jul 21 10:27:04 UTC 2022


On Sat, 18 Jun 2022 10:43:08 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> Instead of separate ConcurrentHashMap.get call, we can use result of previous putIfAbsent call.

This pull request has now been integrated.

Changeset: 52cc6cd0
Author:    Andrey Turbanov <aturbanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/52cc6cd063c167229f8883ba5a81be306c38a73c
Stats:     30 lines in 4 files changed: 2 ins; 16 del; 12 mod

8288723: Avoid redundant ConcurrentHashMap.get call in java.time

Reviewed-by: attila, rriggs

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

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


More information about the i18n-dev mailing list