-
Bug
-
Resolution: Fixed
-
P2
-
21, 22
-
b26
-
aarch64
-
linux
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8320742 | 21.0.2 | Axel Boldt-Christmas | P2 | Closed | Fixed | b09 |
Test name(s): applications/runthese/RunThese8H.java
Product(s) tested: JDK 21.0.2 b04 (issue seen in 21.0.1 also)
OS/architecture: Linux-aarch64
Reproducible: Highly Intermittent
VM flag: -XX:+UseZGC -XX:+ZGenerational
Excerpts from Log:
# guarantee(chk == -1 || chk == 0) failed: Field too big for insn at 0x0000ffff8c4d0eb4
#
# JRE version: Java(TM) SE Runtime Environment (21.0.2+4) (fastdebug build 21.0.2+4-LTS-43)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 21.0.2+4-LTS-43, mixed mode, sharing, tiered, compressed class ptrs, z gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0x11b56a8] Instruction_aarch64::spatch(unsigned char*, int, int, long) [clone .part.0]+0x38
#
Current thread (0x0000ffff9c2fb4f0): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=2550844, stack(0x0000fffb23c03000,0x0000fffb23e01000) (2040K)]
Current CompileTask:
C2:28479996 4899959 4 com.sun.tck.lib.tgf.TransformingIterator::shift (62 bytes)
Stack: [0x0000fffb23c03000,0x0000fffb23e01000], sp=0x0000fffb23dfc6f0, free space=2021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x11b56a8] Instruction_aarch64::spatch(unsigned char*, int, int, long) [clone .part.0]+0x38 (assembler_aarch64.hpp:231)
V [libjvm.so+0x11b6cac] MacroAssembler::pd_patch_instruction_size(unsigned char*, unsigned char*)+0x46c (macroAssembler_aarch64.cpp:235)
V [libjvm.so+0x5d8418] Label::patch_instructions(MacroAssembler*)+0xf8 (macroAssembler_aarch64.hpp:631)
V [libjvm.so+0x17c7f10] ZLoadBarrierStubC2Aarch64::emit_code(MacroAssembler&)+0x9c (macroAssembler_aarch64.hpp:150)
V [libjvm.so+0x17d01fc] ZBarrierSetC2::emit_stubs(CodeBuffer&) const+0xd8 (zBarrierSetC2.cpp:341)
V [libjvm.so+0x1385cbc] PhaseOutput::fill_buffer(CodeBuffer*, unsigned int*)+0x1c0c (output.cpp:1755)
V [libjvm.so+0x9083b8] Compile::Code_Gen()+0x3c8 (compile.cpp:2971)
V [libjvm.so+0x90c870] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x15b0 (compile.cpp:875)
V [libjvm.so+0x762a58] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x328 (c2compiler.cpp:118)
V [libjvm.so+0x918904] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x974 (compileBroker.cpp:2265)
V [libjvm.so+0x919424] CompileBroker::compiler_thread_loop()+0x590 (compileBroker.cpp:1944)
V [libjvm.so+0xdabbf0] JavaThread::thread_main_inner()+0xd0 (javaThread.cpp:719)
V [libjvm.so+0x16050a4] Thread::call_run()+0xb0 (thread.cpp:217)
V [libjvm.so+0x1360718] thread_native_entry(Thread*)+0x138 (os_linux.cpp:783)
C [libpthread.so.0+0x7928] start_thread+0x188
Product(s) tested: JDK 21.0.2 b04 (issue seen in 21.0.1 also)
OS/architecture: Linux-aarch64
Reproducible: Highly Intermittent
VM flag: -XX:+UseZGC -XX:+ZGenerational
Excerpts from Log:
# guarantee(chk == -1 || chk == 0) failed: Field too big for insn at 0x0000ffff8c4d0eb4
#
# JRE version: Java(TM) SE Runtime Environment (21.0.2+4) (fastdebug build 21.0.2+4-LTS-43)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 21.0.2+4-LTS-43, mixed mode, sharing, tiered, compressed class ptrs, z gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0x11b56a8] Instruction_aarch64::spatch(unsigned char*, int, int, long) [clone .part.0]+0x38
#
Current thread (0x0000ffff9c2fb4f0): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=2550844, stack(0x0000fffb23c03000,0x0000fffb23e01000) (2040K)]
Current CompileTask:
C2:28479996 4899959 4 com.sun.tck.lib.tgf.TransformingIterator::shift (62 bytes)
Stack: [0x0000fffb23c03000,0x0000fffb23e01000], sp=0x0000fffb23dfc6f0, free space=2021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x11b56a8] Instruction_aarch64::spatch(unsigned char*, int, int, long) [clone .part.0]+0x38 (assembler_aarch64.hpp:231)
V [libjvm.so+0x11b6cac] MacroAssembler::pd_patch_instruction_size(unsigned char*, unsigned char*)+0x46c (macroAssembler_aarch64.cpp:235)
V [libjvm.so+0x5d8418] Label::patch_instructions(MacroAssembler*)+0xf8 (macroAssembler_aarch64.hpp:631)
V [libjvm.so+0x17c7f10] ZLoadBarrierStubC2Aarch64::emit_code(MacroAssembler&)+0x9c (macroAssembler_aarch64.hpp:150)
V [libjvm.so+0x17d01fc] ZBarrierSetC2::emit_stubs(CodeBuffer&) const+0xd8 (zBarrierSetC2.cpp:341)
V [libjvm.so+0x1385cbc] PhaseOutput::fill_buffer(CodeBuffer*, unsigned int*)+0x1c0c (output.cpp:1755)
V [libjvm.so+0x9083b8] Compile::Code_Gen()+0x3c8 (compile.cpp:2971)
V [libjvm.so+0x90c870] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x15b0 (compile.cpp:875)
V [libjvm.so+0x762a58] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x328 (c2compiler.cpp:118)
V [libjvm.so+0x918904] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x974 (compileBroker.cpp:2265)
V [libjvm.so+0x919424] CompileBroker::compiler_thread_loop()+0x590 (compileBroker.cpp:1944)
V [libjvm.so+0xdabbf0] JavaThread::thread_main_inner()+0xd0 (javaThread.cpp:719)
V [libjvm.so+0x16050a4] Thread::call_run()+0xb0 (thread.cpp:217)
V [libjvm.so+0x1360718] thread_native_entry(Thread*)+0x138 (os_linux.cpp:783)
C [libpthread.so.0+0x7928] start_thread+0x188
- backported by
-
JDK-8320742 [AArch64] C2 compilation fails with "Field too big for insn"
-
- Closed
-
- relates to
-
JDK-8307058 Implementation of Generational ZGC
-
- Resolved
-
-
JDK-8320682 [AArch64] C1 compilation fails with "Field too big for insn"
-
- Resolved
-
- links to
-
Commit openjdk/jdk21u/afc506e9
-
Commit openjdk/jdk/3787ff8d
-
Review openjdk/jdk21u/398
-
Review openjdk/jdk/16780
(2 links to)