RFR: 8348978: Regression ~8% on J2dBench-vimg_text_aa-ParGC only on linux aarch64

Per Minborg pminborg at openjdk.org
Tue Apr 8 14:54:09 UTC 2025


This PR proposes to use an anonymous class rather than a lambda in order to improve startup time.

We need to make sure the regression is fixed by this. It might be the case that the regression is there because [JDK-8347047](https://bugs.openjdk.org/browse/JDK-8347047) actually fixed an issue so that the segments could be collected by the GC.

-------------

Commit messages:
 - Replace lambda with anonymous class

Changes: https://git.openjdk.org/jdk/pull/24514/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24514&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8348978
  Stats: 8 lines in 1 file changed: 5 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/24514.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24514/head:pull/24514

PR: https://git.openjdk.org/jdk/pull/24514


More information about the core-libs-dev mailing list