RFR: 8341755: Optimize argNames in InnerClassLambdaMetafactory [v3]

Chen Liang liach at openjdk.org
Tue Oct 8 19:34:58 UTC 2024


On Tue, 8 Oct 2024 18:35:46 GMT, Shaojin Wen <swen at openjdk.org> wrote:

>> 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>

Marked as reviewed by liach (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/21399#pullrequestreview-2355366688


More information about the core-libs-dev mailing list