initialization times for invokedynamic

Ben Evans benjamin.john.evans at gmail.com
Mon Sep 25 16:21:47 UTC 2023


On Mon, Sep 25, 2023 at 2:00 PM Jochen Theodorou <blackdrag at gmx.org> wrote:
>
> so my takes from this:
>
> 1) future Reflection will use MethodHandles, meaning my variants
> depending on Reflection will have similar times to MethodHandles very soon.

Java 18 and onwards already have the MH-based implementation:
https://blogs.oracle.com/javamagazine/post/java-reflection-method-handles

So, it might be interesting to retry your bench on Java 21 and see
what that looks like.

Cheers,

Ben


More information about the mlvm-dev mailing list