RFR: 8341755: Optimize argNames in InnerClassLambdaMetafactory [v5]

Shaojin Wen swen at openjdk.org
Tue Oct 8 22:34:38 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:

  fix merge error

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21399/files
  - new: https://git.openjdk.org/jdk/pull/21399/files/6cdc01a7..f905cc67

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

  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