[master] RFR: Relax array elements alignment
Aleksey Shipilev
shade at openjdk.java.net
Tue Mar 8 17:40:37 UTC 2022
On Tue, 8 Mar 2022 05:04:00 GMT, David Holmes <dholmes at openjdk.org> wrote:
> I'm not at all familiar with the code being changed here but I just want to flag something that is probably obvious, but array accesses are required to be atomic (except for double and long) so I hope these alignment changes don't break that.
Array bases are still aligned at least by 4, as you can see in JOL output here: https://github.com/openjdk/jol/pull/22 -- in fact even long/double array bases are aligned by 8, pretty much like long/double fields.
-------------
PR: https://git.openjdk.java.net/lilliput/pull/41
More information about the lilliput-dev
mailing list