RFR: 8341755: Optimize argNames in InnerClassLambdaMetafactory [v3]

Shaojin Wen swen at openjdk.org
Tue Oct 8 18:35:46 UTC 2024


> A simple optimization that eliminates the allocation of the MethodTypeDescImpl object when parameterCount is equal to 0 and eliminates the allocation of argNames when parameterCount is equal to 1

Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:

  Update src/java.base/share/classes/java/lang/invoke/InnerClassLambdaMetafactory.java
  
  Co-authored-by: Claes Redestad <claes.redestad at oracle.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21399/files
  - new: https://git.openjdk.org/jdk/pull/21399/files/96244330..191bba08

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21399&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21399&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/21399.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21399/head:pull/21399

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


More information about the core-libs-dev mailing list