Integrated: 8305765: CompressedClassPointers.java is unreliable due to ASLR

Calvin Cheung ccheung at openjdk.org
Wed Oct 4 17:30:40 UTC 2023


On Mon, 2 Oct 2023 18:30:54 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> A new log statement is added to the `Metaspace::global_initialize` function to indicate that the compress class space is being allocate at an address chosen by the platform. The `CompressedClassPointers.java` test will base on the log output before checking the expected `Narrow klass base` output.
> 
> Passed tiers 1 - 3 testing.
> Also ran the test on linux-aarch64 and linux-aarch64-debug platforms, 30 times each.

This pull request has now been integrated.

Changeset: ddacf927
Author:    Calvin Cheung <ccheung at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ddacf92713aaa17f6fc50c1fb7a5da1ca7809702
Stats:     27 lines in 3 files changed: 17 ins; 1 del; 9 mod

8305765: CompressedClassPointers.java is unreliable due to ASLR

Reviewed-by: iklam

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

PR: https://git.openjdk.org/jdk/pull/16014


More information about the hotspot-runtime-dev mailing list