[jdk18] RFR: 8278897: Alignment of heap segments is not enforced correctly [v2]

Jorn Vernee jvernee at openjdk.java.net
Tue Jan 4 15:26:11 UTC 2022


On Tue, 4 Jan 2022 11:39:08 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
>
> Maurizio Cimadamore has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
> 
>  - Merge branch 'master' into heap-align
>  - Initial push

Marked as reviewed by jvernee (Reviewer).

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

PR: https://git.openjdk.java.net/jdk18/pull/37


More information about the core-libs-dev mailing list