[jdk17u-dev] RFR: 8320682: [AArch64] C1 compilation fails with "Field too big for insn"
Boris Ulasevich
bulasevich at openjdk.org
Thu Apr 3 14:13:13 UTC 2025
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
-------------
Commit messages:
- Backport JDK-8320682
Changes: https://git.openjdk.org/jdk17u-dev/pull/3432/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3432&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8320682
Stats: 71 lines in 2 files changed: 69 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/3432.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3432/head:pull/3432
PR: https://git.openjdk.org/jdk17u-dev/pull/3432
More information about the jdk-updates-dev
mailing list