RFR: 8341755: Optimize argNames in InnerClassLambdaMetafactory [v6]

Shaojin Wen swen at openjdk.org
Wed Oct 9 04:03:11 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:

  suggestion from @cl4es

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

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

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

  Stats: 10 lines in 1 file changed: 0 ins; 8 del; 2 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