Integrated: 8341755: Optimize argNames in InnerClassLambdaMetafactory

Shaojin Wen swen at openjdk.org
Wed Oct 9 23:53:20 UTC 2024


On Tue, 8 Oct 2024 00:47:27 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

This pull request has now been integrated.

Changeset: c850ecb2
Author:    Shaojin Wen <swen at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c850ecb20a095cb69da81f6fbe5da9c4bce66e77
Stats:     26 lines in 1 file changed: 10 ins; 8 del; 8 mod

8341755: Optimize argNames in InnerClassLambdaMetafactory

Co-authored-by: Chen Liang <liach at openjdk.org>
Reviewed-by: liach, redestad

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

PR: https://git.openjdk.org/jdk/pull/21399


More information about the core-libs-dev mailing list