On Thu, 8 Jun 2023 15:24:00 GMT, Jim Laskey <jlas...@openjdk.org> wrote:
>> 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. > > LGTM @JimLaskey @RogerRiggs thanks for the quick reviews! I'll wait for and double-check test results before pushing. ------------- PR Comment: https://git.openjdk.org/jdk/pull/14380#issuecomment-1582821757