RFR: 8309665: Simplify Arrays.copyOf/-Range methods [v2]
Claes Redestad
redestad at openjdk.org
Fri Jun 9 10:03:08 UTC 2023
> https://bugs.openjdk.org/browse/JDK-8301958 and later changes improved Arrays.copyOf/-Range methods to improve peak performance in microbenchmarks when copying the entire array, but it's resulted in a few lurking footprint benchmark issues that come down to incurring slightly more JIT activity. As a partial remedy I propose simplifying the implementation so that no new methods are added compared to the JDK 20 baseline. This patch maintains the microbenchmark speed-up from JDK-8301958 while reducing JIT compilations in startup/footprint benchmarks.
Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:
Remove pointless comments
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14380/files
- new: https://git.openjdk.org/jdk/pull/14380/files/09b06d77..ae809dfb
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14380&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14380&range=00-01
Stats: 2 lines in 1 file changed: 0 ins; 2 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/14380.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14380/head:pull/14380
PR: https://git.openjdk.org/jdk/pull/14380
More information about the core-libs-dev
mailing list