RFR: 8351157: Clean up x86 GC barriers after 32-bit x86 removal

Aleksey Shipilev shade at openjdk.org
Wed Mar 26 18:38:33 UTC 2025


Assembler GC barriers have quite a bit of coding to support 32-bit x86. As 32-bit x86 is removed, we can clean up those parts.

We can eliminate `!LP64` blocks quite easily. We can also prune passing around `thread` argument, and just trust that `r15_thread` is always available.

Additional testing:
 - [x] Linux x86_64 server fastdebug, `tier1`
 - [ ] Linux x86_64 server fastdebug, `all`

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

Commit messages:
 - Also do tlab_allocate
 - Rely on R15 to be a thread register
 - Work

Changes: https://git.openjdk.org/jdk/pull/24253/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24253&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8351157
  Stats: 546 lines in 20 files changed: 1 ins; 429 del; 116 mod
  Patch: https://git.openjdk.org/jdk/pull/24253.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24253/head:pull/24253

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


More information about the shenandoah-dev mailing list