RFR: 8224509: Incorrect alignment in CDS related allocation code on 32-bit platforms [v2]
Thomas Stuefe
stuefe at openjdk.java.net
Sat Oct 3 19:12:43 UTC 2020
On Fri, 2 Oct 2020 16:20:00 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
>> CDS aligns pointers and sizes to BytesPerWord. On 64-bit, BytesPerWord = 8. On 32-bit, BytesPerWord = 4.
>>
>> To make the alignment consistent between 64- and 32-bit platforms, this patch changes the alignment value to 8.
>>
>> Testing: tiers 1 - 4
>> built linux-x86-debug.
>
> Calvin Cheung 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 three additional commits since
> the last revision:
> - Merge branch 'master' of github.com:calvinccheung/jdk into 8224509
> - set SharedSpaceObjectAlignment to KlassAlignmentInBytes
> - 8224509 (initial commit)
Marked as reviewed by stuefe (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/476
More information about the hotspot-runtime-dev
mailing list