[jdk21u-dev] RFR: 8335662: [AArch64] C1: guarantee(val < (1ULL << nbits)) failed: Field too big for insn

Dmitry Chuyko dchuyko at openjdk.org
Thu Mar 6 14:31:38 UTC 2025


This a clean backport of a small instruction encoding fix in LIR_Assembler::osr_entry() for aarch64. Without the fix the JVM can fail during OSR in C1. The bug was originally fixed in JDK 24 so I intend to integrate the backport only after JDK 24 is released. After jdk21u I'd like to proceed with jdk17u.

Testing: tier1,2 on linux-aarch64. The new test fails on current jdk21u and passes after patching.

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

Commit messages:
 - Backport 401d0d6b09ea422eacecda2900793a416097dc9b

Changes: https://git.openjdk.org/jdk21u-dev/pull/1456/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1456&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8335662
  Stats: 105 lines in 2 files changed: 102 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1456.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1456/head:pull/1456

PR: https://git.openjdk.org/jdk21u-dev/pull/1456


More information about the jdk-updates-dev mailing list