RFR: 8353129: CDS ArchiveRelocation tests fail after JDK-8325132 [v2]

Calvin Cheung ccheung at openjdk.org
Mon Mar 31 22:15:39 UTC 2025


> Two archive relocation tests failed when `-XX:ArchiveRelocationMode=0` is specified via the jtreg `-javaoption`.
> A fix is to add a `WhiteBox.getArchiveRelocationMode()` method so that the tests can check if the `ArchiveRelocationMode` is set to 0 before checking the expected output.
> 
> Passed tiers 1 - 4 testing.

Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:

  simplify the fix per David's suggestion

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24308/files
  - new: https://git.openjdk.org/jdk/pull/24308/files/94b6164b..9bfa2ec6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24308&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24308&range=00-01

  Stats: 34 lines in 4 files changed: 3 ins; 21 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/24308.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24308/head:pull/24308

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


More information about the hotspot-dev mailing list