[foreign-memaccess] RFR 8226519: Add layout helper methods to obtain size and alignment in bytes
Jorn Vernee
jbvernee at xs4all.nl
Tue Jun 25 12:56:57 UTC 2019
Looks good, really like it!
Minor nit: In the javadoc of Layout::bytesAlignment, the int and short
examples are still given in bits, instead of bytes.
Jorn
On 2019-06-20 16:35, Maurizio Cimadamore wrote:
> Subject says it all: let's get rid of all "/ 8" in the API/tests by
> offering handy (and safe) helpers which do the conversion.
>
> Webrev:
>
> http://cr.openjdk.java.net/~mcimadamore/panama/8226519/
>
> I've also slightly renamed the alignment method - to make it
> consistent with the size one.
>
> Cheers
> Maurizio
More information about the panama-dev
mailing list