RFR: 8295302: Do not use ArrayList when LambdaForm has a single ClassData [v2]

Claes Redestad redestad at openjdk.org
Mon Oct 17 19:32:04 UTC 2022


On Fri, 14 Oct 2022 04:37:22 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> Please review this small optimization. As shown in the JBS issue, most of the generated LambdaForm classes have a single ClassData, so we can get a small footprint/speed improvement.
>
> Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
> 
>   @iwanowww comments

Looks good, assuming there are tests calling in with no class data to check that `defineClass` is fine with `null` inputs?

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

Marked as reviewed by redestad (Reviewer).

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


More information about the core-libs-dev mailing list