[jdk18] Integrated: 8278897: Alignment of heap segments is not enforced correctly
Maurizio Cimadamore
mcimadamore at openjdk.java.net
Wed Jan 5 10:51:32 UTC 2022
On Thu, 16 Dec 2021 12:31:01 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> This PR fixes an issue with alignment constraints not being enforced correctly on on-heap segments dereference/copy operations. Alignment of on-heap segments cannot be computed exactly, as alignment of elements in arrays is, ultimately a VM implementation detail. Because of this, alignment checks on heap segments can fail or pass depending on the platform being used.
>
> For more details about the problem and the solution please refer to:
> https://mail.openjdk.java.net/pipermail/panama-dev/2021-November/015852.html
This pull request has now been integrated.
Changeset: 9d43d25d
Author: Maurizio Cimadamore <mcimadamore at openjdk.org>
URL: https://git.openjdk.java.net/jdk18/commit/9d43d25da8bcfff425a795dcc230914a384a5c82
Stats: 600 lines in 20 files changed: 566 ins; 0 del; 34 mod
8278897: Alignment of heap segments is not enforced correctly
Reviewed-by: jvernee
-------------
PR: https://git.openjdk.java.net/jdk18/pull/37
More information about the core-libs-dev
mailing list