[jdk17u-dev] Integrated: 8320682: [AArch64] C1 compilation fails with "Field too big for insn"

Boris Ulasevich bulasevich at openjdk.org
Tue Apr 15 17:43:52 UTC 2025


On Thu, 3 Apr 2025 13:53:32 GMT, Boris Ulasevich <bulasevich at openjdk.org> wrote:

> This is a backport from https://github.com/openjdk/jdk/pull/16951 to change the NMethodSizeLimit limit to 1MB to avoid the issue:
> 
> 
> $ jdk-fastdebug/bin/java -XX:NMethodSizeLimit=10M -version
> 
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  Internal Error (/jdk17u-dev/src/hotspot/cpu/aarch64/assembler_aarch64.hpp:267), pid=334227, tid=334241
> #  guarantee(chk == -1 || chk == 0) failed: Field too big for insn
> 
> 
> The minor merge conflicts have been resolved:
> - Copyright year
> - TestC1Globals.java in the original fix was an update of an already existing file. Here is is just a new file

This pull request has now been integrated.

Changeset: bec2e071
Author:    Boris Ulasevich <bulasevich at openjdk.org>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/bec2e07144923a70746dd55a5482cb8f7ea6add2
Stats:     71 lines in 2 files changed: 69 ins; 0 del; 2 mod

8320682: [AArch64] C1 compilation fails with "Field too big for insn"

Reviewed-by: phh

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

PR: https://git.openjdk.org/jdk17u-dev/pull/3432


More information about the jdk-updates-dev mailing list