[foreign-abi] RFR: 8247993: AArch64: add support for VaList

Jorn Vernee jvernee at openjdk.java.net
Wed Jul 1 12:27:27 UTC 2020


On Wed, 1 Jul 2020 07:07:28 GMT, Nick Gasson <ngasson at openjdk.org> wrote:

> Based on the SysV x64 implementation as it's somewhat similar to AArch64.
> 
> I added some extra tests to cover some cases on AArch64 that weren't hit
> by the existing tests. The new testHugeStructByValue fails on Linux
> x86_64 because the HugePoint struct is too large to be passed in
> registers in the SysV ABI. Made a minimal fix to pass it on the stack
> instead.

Hi Nick,

Thanks for the patch! And thanks for fixing the SysV problem. That use-case slipped my mind.

I plan to take a thorough look at this soon, but I'm currently juggling a few other things.

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

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


More information about the panama-dev mailing list