RFR: 8341755: Optimize argNames in InnerClassLambdaMetafactory [v2]

Shaojin Wen swen at openjdk.org
Tue Oct 8 15:52:35 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:

  Lazy initialization of ARG_NAME_CACHE

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

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

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

  Stats: 15 lines in 1 file changed: 1 ins; 6 del; 8 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