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

Reply via email to