RFR: 8341755: Optimize argNames in InnerClassLambdaMetafactory [v7]

Chen Liang liach at openjdk.org
Wed Oct 9 04:23:00 UTC 2024


On Wed, 9 Oct 2024 04:09:33 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:
> 
>   suggestion from @cl4es

Back to precomputed constants :)

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

Marked as reviewed by liach (Reviewer).

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


More information about the core-libs-dev mailing list