RFR: 8356153: Shenandoah stubs are missing in AOT Code Cache addresses table

Aleksey Shipilev shade at openjdk.org
Mon May 5 09:24:04 UTC 2025


See the bug for reproducer. We actually have similar Shenandoah hunks down in Leyden repository, but we have apparently missed them when upstreaming [JDK-8350209](https://bugs.openjdk.org/browse/JDK-8350209). We only need a small subset of stubs that adapters use: pre-barriers and phantom load-barriers. This matches what we do for G1 and Z as well.

Additional testing:
 - [x] Linux x86_64 server fastdebug, `runtime/cds` with `-XX:+UseShenandoahGC`

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

Commit messages:
 - Fix

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

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


More information about the hotspot-compiler-dev mailing list