Native call framework prototype
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Thu Feb 19 21:26:31 UTC 2015
> Congratulations, Vladimir!
>
> Mark this date... It's the first native call through a method handle!
Thanks, John! :-) Hooray!
> Another milestone to make (later) will be to attach BSMs to native
> methods, so that we can bind those through to MHs w/o JNI wrappers.
> Then, as Darth Vader would say, "the circle is complete".
Are you talking about extending CONSTANT_MethodHandle CP entry to
describe method handles to native methods?
Considering presence of NativeMethodHandle in my prototype, what's
missing right now is NativeEntryPoint explosion in JIT. It's already
possible to bind indy to NativeMethodHandle with appropriate BSM and
when JIT can get rid of linkToNative adapter the call site will end up
as a raw native call.
Best regards,
Vladimir Ivanov
More information about the panama-dev
mailing list