[foreign-memaccess+abi] RFR: 8292174: Add unaligned layouts to ValueLayout

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Aug 11 09:49:47 UTC 2022


On Thu, 11 Aug 2022 07:45:32 GMT, Per Minborg <duke at openjdk.org> wrote:

> `JAVA_BYTE` and `JAVA_BOOLEAN` are implicitly unaligned. We could either:
> 
>     * provide `JAVA_BYTE_UNALIGNED` for symmetry which is identical to `JAVA_BYTE` (and the same for boolean).
> 
>     * provide neither `JAVA_BYTE_UNALIGNED` nor `JAVA_BYTE_UNALIGNED`

Leave alone UNALIGNED for 8-bit entities. I think that's fine.

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

PR: https://git.openjdk.org/panama-foreign/pull/705


More information about the panama-dev mailing list