RFR: 8358344: [leyden] Enable UseSecondarySupersTable support

Aleksey Shipilev shade at openjdk.org
Tue Jun 3 08:36:53 UTC 2025


`UseSecondarySupersTable` was disabled during the merge last month. It is time to enable it back. We need to record the table and slowpaths for `id_for_address` to work. `SECONDARY_SUPERS_TABLE_SIZE` is realistically at most `64` (matches machine bitness), so I added `+70` to all relevant sizing constants.

Additional testing:
 - [x] Linux x86_64 server fastdebug, `runtime/cds` works (used to fail with just `UseSecondarySupersTable = false` removed)

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

Commit messages:
 - Fix

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

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


More information about the leyden-dev mailing list