<i18n dev> RFR: 8288723: Avoid redundant ConcurrentHashMap.get call in java.time
Andrey Turbanov
aturbanov at openjdk.org
Mon Jun 20 07:59:08 UTC 2022
Instead of separate ConcurrentHashMap.get call, we can use result of previous putIfAbsent call.
-------------
Commit messages:
- [PATCH] Avoid redundant ConcurrentHashMap.get call in java.time
Changes: https://git.openjdk.org/jdk/pull/9208/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9208&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8288723
Stats: 20 lines in 4 files changed: 8 ins; 0 del; 12 mod
Patch: https://git.openjdk.org/jdk/pull/9208.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/9208/head:pull/9208
PR: https://git.openjdk.org/jdk/pull/9208
More information about the i18n-dev
mailing list