Experiments with C ABI calls

Andrew Haley aph at redhat.com
Tue Feb 16 13:15:49 UTC 2021

I'm trying out the current incubator in JDK head, and playing
with C ABI calls. It works, but it's really horribly slow, going
via ProgrammableInvoker.invokeMoves and ProgrammableInvoker.invokeNative
rather than generating optimized code to do direct calls.

Is this expected with the current version, or have I hit a bug? I'm
only using scalar types in my function call.


Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the panama-dev mailing list