> The change made in [JDK-8288723](https://bugs.openjdk.org/browse/JDK-8288723) > seems innocuous, but it caused this performance regression. Partially > reverting the change (ones that involve `computeIfAbsent()`) to the original. > Provided a benchmark that iterates the call to `ZoneOffset.ofTotalSeconds(0)` > 1,000 times, which improves the operation time from 3,946ns to 2,241ns.
Naoto Sato has updated the pull request incrementally with one additional commit since the last revision: Fixed compile error ------------- Changes: - all: https://git.openjdk.org/jdk/pull/22854/files - new: https://git.openjdk.org/jdk/pull/22854/files/1e09b8be..8dca103a Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=22854&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22854&range=01-02 Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/22854.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/22854/head:pull/22854 PR: https://git.openjdk.org/jdk/pull/22854