RFR: 8341859: Optimize ClassFile Benchmark Write

Shaojin Wen swen at openjdk.org
Wed Oct 9 17:40:24 UTC 2024


Cache method names to reduce the overhead of using StringBuilder to construct method names, which will make the performance test results more stable.

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

Commit messages:
 - cache methodName

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

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


More information about the core-libs-dev mailing list