[foreign-memaccess+abi] RFR: 8274912: Eagerly generate native invokers [v3]

Jorn Vernee jvernee at openjdk.java.net
Thu Oct 14 12:45:07 UTC 2021


On Wed, 13 Oct 2021 07:12:49 GMT, Nick Gasson <ngasson at openjdk.org> wrote:

> The STACK_VARARGS_ATTRIBUTE_NAME attribute used to be set only on macOS and was used to force all variadic arguments onto the stack, but that now happens unconditionally on Linux as well.

Ah, nice find!

I think we can just add a check to see if we are on the Mac ABI and only then do the adjustment for varargs?

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

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


More information about the panama-dev mailing list