RFR: 8338936: StringConcatFactory optimize the construction of MethodType and MethodTypeDesc

Shaojin Wen duke at openjdk.org
Sun Aug 25 13:12:33 UTC 2024


optimize the construction of MethodType and MethodTypeDesc to reduce memory allocate

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

Commit messages:
 - Update src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java
 - Optimize the construction of MethodType and MethodTypeDesc to reduce memory allocate

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

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


More information about the core-libs-dev mailing list