RFR: 8341755: Optimize argNames in InnerClassLambdaMetafactory [v2]

Chen Liang liach at openjdk.org
Tue Oct 8 16:01:59 UTC 2024


On Tue, 8 Oct 2024 15:52:35 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:
> 
>   Lazy initialization of ARG_NAME_CACHE

Looks good. Since I have contributed I think we need another review, such as @cl4es.

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

Marked as reviewed by liach (Reviewer).

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


More information about the core-libs-dev mailing list