Integrated: 8224509: Incorrect alignment in CDS related allocation code on 32-bit platforms

Calvin Cheung ccheung at openjdk.java.net
Mon Oct 5 16:54:42 UTC 2020


On Thu, 1 Oct 2020 22:40:46 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.

This pull request has now been integrated.

Changeset: ea27a54b
Author:    Calvin Cheung <ccheung at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/ea27a54b
Stats:     14 lines in 5 files changed: 5 ins; 1 del; 8 mod

8224509: Incorrect alignment in CDS related allocation code on 32-bit platforms

Reviewed-by: iklam, stuefe

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

PR: https://git.openjdk.java.net/jdk/pull/476


More information about the hotspot-runtime-dev mailing list