RFR: 8371777: Clean up preferred address of G1's archive region

Paul Hübner phubner at openjdk.org
Tue Jan 20 12:56:44 UTC 2026


Hi all,

There exists infrastructure in G1 to map the archived region at a certain address, `preferred_addr`. This was however never implemented and abandoned in favour of JEP 516. This is a small cleanup that removes the unused parameter.

Note: the `requested_start` address is still necessary to compute pointer deltas and to perform patching if necessary. If folks feel like `requested` is a misleading name I'm happy to address that as part of a separate RFE.

Testing: tiers 1-5 Linux (x64, AArch64), macOS (x64, AArch64), Windows x64.

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

Commit messages:
 - Remove preferred_addr parameter.

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

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


More information about the hotspot-dev mailing list