RFR: 8341755: Optimize argNames in InnerClassLambdaMetafactory [v3]

Claes Redestad redestad at openjdk.org
Tue Oct 8 20:21: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 redestad (Reviewer).

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

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


More information about the core-libs-dev mailing list