RFR: 8340474: [premain] Revert ArchiveRelocationMode back to 1

Aleksey Shipilev shade at openjdk.org
Mon May 19 09:52:21 UTC 2025


Current Leyden premain repo has this change:


- product(int, ArchiveRelocationMode, 1, DIAGNOSTIC, \
+ /*FIXME - AOT code has direct pointers to metadata that's not relocated*/ \
+ product(int, ArchiveRelocationMode, 0, DIAGNOSTIC, \


We need to revert this to make sure we can compare the performance against mainline. 

Needs https://github.com/openjdk/leyden/pull/68 to work.

Additional testing:
 - [x] Linux x86_64 server fastdebug, `runtime/cds` after https://github.com/openjdk/leyden/pull/68

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

Commit messages:
 - Fix

Changes: https://git.openjdk.org/leyden/pull/69/files
  Webrev: https://webrevs.openjdk.org/?repo=leyden&pr=69&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8340474
  Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/leyden/pull/69.diff
  Fetch: git fetch https://git.openjdk.org/leyden.git pull/69/head:pull/69

PR: https://git.openjdk.org/leyden/pull/69


More information about the leyden-dev mailing list