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

Paul Hohensee phh at openjdk.org
Thu Apr 10 15:10:42 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

Marked as reviewed by phh (Reviewer).

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

PR Review: https://git.openjdk.org/jdk17u-dev/pull/3432#pullrequestreview-2757219831


More information about the jdk-updates-dev mailing list