RFR: 8366984: Remove delay slot support

Daniel Jeliński djelinski at openjdk.org
Sat Sep 6 07:32:45 UTC 2025


SPARC was the only supported architecture that uses a delay slot. The SPARC port was removed in JDK 15, and the code is effectively dead. Let's remove it.

The changes are no-op on all architectures that do not use delay slots. I still tested tier 1-5 on mach5, no related failures.

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

Depends on: https://git.openjdk.org/jdk/pull/27117

Commit messages:
 - Revert scope_desc change, breaks macos-aarch64
 - Remove remaining comments
 - Update copyright
 - Remove commented out code
 - Remove unused variables
 - Comment out unused _unconditional_delay_slot
 - Remove bundle flags
 - Remove delay slot support from ADL
 - Clean up delay slot remnants from arm32 code
 - Remove Lir_OpDelay

Changes: https://git.openjdk.org/jdk/pull/27119/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27119&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8366984
  Stats: 456 lines in 19 files changed: 1 ins; 407 del; 48 mod
  Patch: https://git.openjdk.org/jdk/pull/27119.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27119/head:pull/27119

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


More information about the hotspot-dev mailing list