Integrated: 8331942: On Linux aarch64, CDS archives should be using 64K alignment by default
Thomas Stuefe
stuefe at openjdk.org
Fri May 10 04:33:08 UTC 2024
On Wed, 8 May 2024 15:14:16 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> On Linux aarch64, a JVM may encounter three different page sizes: 4K, 64K, and (when run on Mac M1 hardware) 16K.
>
> Since forgetting to specify `--enable-compatible-cds-alignment` is a common error that is only noticed when running the produced JVM on hardware with different page size, we propose to enable that option by default on Linux aarch64. The cost is a moderate increase in CDS archive size (about 300K).
>
> I tested this patch on:
> - x64 Linux
> - x64 Linux, crossbuilding to aarch64
> - building natively on aarch64 Linux
This pull request has now been integrated.
Changeset: d2d37c91
Author: Thomas Stuefe <stuefe at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d2d37c913e5b55f7aec2c7a6b5a2328348ded223
Stats: 12 lines in 1 file changed: 11 ins; 0 del; 1 mod
8331942: On Linux aarch64, CDS archives should be using 64K alignment by default
Reviewed-by: aph, iklam
-------------
PR: https://git.openjdk.org/jdk/pull/19142
More information about the build-dev
mailing list