RFR: 8305765: CompressedClassPointers.java is unreliable due to ASLR
Calvin Cheung
ccheung at openjdk.org
Mon Oct 2 18:39:30 UTC 2023
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.
-------------
Commit messages:
- 8305765: CompressedClassPointers.java is unreliable due to ASLR
Changes: https://git.openjdk.org/jdk/pull/16014/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16014&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8305765
Stats: 27 lines in 3 files changed: 17 ins; 1 del; 9 mod
Patch: https://git.openjdk.org/jdk/pull/16014.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16014/head:pull/16014
PR: https://git.openjdk.org/jdk/pull/16014
More information about the hotspot-runtime-dev
mailing list