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

Dmitry Chuyko dchuyko at openjdk.org
Wed Mar 19 22:45:16 UTC 2025


On Thu, 6 Mar 2025 14:25:49 GMT, Dmitry Chuyko <dchuyko at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 6bee54ca
Author:    Dmitry Chuyko <dchuyko at openjdk.org>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/6bee54ca15e0abb2a2075ad29a860d4dc512426a
Stats:     105 lines in 2 files changed: 102 ins; 0 del; 3 mod

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

Backport-of: 401d0d6b09ea422eacecda2900793a416097dc9b

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

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


More information about the jdk-updates-dev mailing list