RFR: 8305765: CompressedClassPointers.java is unreliable due to ASLR
Ioi Lam
iklam at openjdk.org
Mon Oct 2 19:46:10 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.
LGTM.
-------------
Marked as reviewed by iklam (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/16014#pullrequestreview-1653382229
More information about the hotspot-runtime-dev
mailing list