On Sat, 18 Jun 2022 10:43:08 GMT, Andrey Turbanov <aturba...@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 <aturba...@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