RFR: 8310053: VarHandle and slice handle derived from layout are lacking alignment check [v4]

Jorn Vernee jvernee at openjdk.org
Thu Jun 15 11:52:11 UTC 2023


On Thu, 15 Jun 2023 00:22:09 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> only the first var handle in the dereference chain gets the proper alignment adaptation on the input segment

That would be easy enough to do, we just check for `derefAdapters.length == 0`. I'll add this too.

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

PR Comment: https://git.openjdk.org/jdk/pull/14475#issuecomment-1592894033


More information about the core-libs-dev mailing list