Port of: https://github.com/openjdk/panama-foreign/pull/806 which fixes an issue with passing structs whose size is not a power of two on SysV and AArch64 platforms.
------------- Depends on: https://git.openjdk.org/jdk/pull/12856 Commit messages: - 8303017: Passing by-value structs whose size is not power of 2 doesn't work on all platforms Changes: https://git.openjdk.org/jdk/pull/12863/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12863&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8303604 Stats: 705 lines in 11 files changed: 652 ins; 2 del; 51 mod Patch: https://git.openjdk.org/jdk/pull/12863.diff Fetch: git fetch https://git.openjdk.org/jdk pull/12863/head:pull/12863 PR: https://git.openjdk.org/jdk/pull/12863