RFR: 8286669: Replace MethodHandle specialization with ASM in mainline

liach duke at openjdk.java.net
Thu May 12 18:20:00 UTC 2022


On Thu, 12 May 2022 17:17:37 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> Hi,
> 
> This PR brings over commits from the panama-foreign repo. These commits mostly pertain to the switch to ASM and away from MethodHandle combinators for the binding recipe specialization. But, there is one more commit which adds freeing of downcall stubs, since those changes were mostly Java as well.
> 
> Thanks,
> Jorn

test/micro/org/openjdk/bench/java/lang/foreign/LinkUpcall.java line 61:

> 59:             BLANK = lookup().findStatic(LinkUpcall.class, "blank", MethodType.methodType(void.class));
> 60:         } catch (ReflectiveOperationException e) {
> 61:             throw new BootstrapMethodError(e);

You probably mean exception in initializer error.

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

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


More information about the core-libs-dev mailing list