[foreign-jextract] RFR: 8256247: TestUpcallHighArity fails on AArch64

Maurizio Cimadamore mcimadamore at openjdk.java.net
Fri Nov 13 10:48:06 UTC 2020


On Fri, 13 Nov 2020 10:41:01 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> Large (> 16 byte) struct arguments should be passed by reference to a
>> caller-allocated copy of the struct. If this argument is passed on the
>> stack then the pointer should occupy a single stack slot. However the
>> current CallArranger allocates enough stack slots to hold the entire
>> struct, which is incorrect.
>
> LGTM! Thanks for fixing

I've started a test build - I'll let you know how it goes. The fix seems solid.

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

PR: https://git.openjdk.java.net/panama-foreign/pull/392


More information about the panama-dev mailing list