On Fri, 27 May 2022 14:18:19 GMT, Claes Redestad <redes...@openjdk.org> wrote:

> In preparation of #8855 this PR refactors the conversions from `List` to 
> array and array to `List`, reducing the number of conversions when calling 
> `MethodHandles.dropArguments` in particular. This remove about ~5% of 
> allocations on the `StringConcatFactoryBootstraps` microbenchmark.

This pull request has now been integrated.

Changeset: ecf00785
Author:    Claes Redestad <redes...@openjdk.org>
Stats:     49 lines in 3 files changed: 9 ins; 6 del; 34 mod

8287442: Reduce list to array conversions in java.lang.invoke.MethodHandles

Reviewed-by: jvernee


PR: https://git.openjdk.java.net/jdk/pull/8923

Reply via email to