RFR: 8325132: CDS: Make sure the ArchiveRelocationMode is always printed in the log

Calvin Cheung ccheung at openjdk.org
Tue Mar 4 23:03:39 UTC 2025


Always include the ArchiveRelocationMode in the CDS info log. Before this fix, ArchiveRelocationMode is not in the log if it is set to 0.
The ArchiveRelocationMode default value was set to 1 about 2 years ago. Some tests need to be updated accordingly.

Testing:

- ran the modified tests manually on linux-x64
- tier1

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

Commit messages:
 - minor changes to test cases
 - 8325132: CDS: Make sure the ArchiveRelocationMode is always printed in the log

Changes: https://git.openjdk.org/jdk/pull/23878/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23878&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8325132
  Stats: 18 lines in 4 files changed: 10 ins; 0 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/23878.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23878/head:pull/23878

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


More information about the hotspot-runtime-dev mailing list