[foreign] 8220296: Memory access should have layout with explicit endianness

Henry Jen henry.jen at oracle.com
Thu Mar 7 19:24:23 UTC 2019


Hi,

After spending quite some time to plug holes everywhere endianness need to be localized(allocation, cast, etc…), I think it’s best to be simple and consistent, and simply enforce LayoutType to have explicit endianness.

This is pretty close to what I came out at very beginning, any NE is really just the host endianness. However, in this edition, the “localize” of endianness happens in LayoutType, not Layout.

With that change, we enforce that function should not have byte-swapped layout.

The webrev[1] is up for review, let me know what you think.

Cheers,
Henry

[1] http://cr.openjdk.java.net/~henryjen/panama/8220296/0/webrev/


More information about the panama-dev mailing list