[foreign-memaccess] RFR 8234814: Eager layout size computation trips on unbound sequence layouts
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Tue Nov 26 14:46:12 UTC 2019
On 26/11/2019 14:40, Maurizio Cimadamore wrote:
> * constants such as JAVA_INT should use native order (this is, after
> all, the layout of an int in the VM)
To expand a bit - we eventually would like to see these constants moved
in the primitive wrapper classes - e.g.
MemoryLayout::JAVA_INT -> Integer::LAYOUT
in which case I think these constants should return whatever layout the
VM thinks a Java int (in this case) has.
Maurizio
More information about the panama-dev
mailing list