Integrated: 8310053: VarHandle and slice handle derived from layout are lacking alignment check

Jorn Vernee jvernee at openjdk.org
Wed Jun 21 00:08:16 UTC 2023


On Wed, 14 Jun 2023 19:30:10 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> Add missing alignment checks for the alignment constraint of the root layout of a VarHandle created through `MemoryLayout::varHandle` and a MethodHandle `MemoryLayout::sliceHandle`.
> 
> Testing: `jdk_foreign` test suite

This pull request has now been integrated.

Changeset: e022e876
Author:    Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e022e876543b65b531027662326f35b497861f33
Stats:     97 lines in 4 files changed: 81 ins; 4 del; 12 mod

8310053: VarHandle and slice handle derived from layout are lacking alignment check

Reviewed-by: mcimadamore

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

PR: https://git.openjdk.org/jdk/pull/14475


More information about the core-libs-dev mailing list