Java crash in C2 CompilerThread in IfNode::fold_compares
Issue
- JVM crash with the following in the fatal error log:
Current thread (0x00005615845fe800): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=1001989, stack(0x00007f722baf0000,0x00007f722bbf1000)]
...
Stack: [0x00007f722baf0000,0x00007f722bbf1000], sp=0x00007f722bbec7f0, free space=1009k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xe3d524] SubINode::Ideal(PhaseGVN*, bool)+0x24
V [libjvm.so+0xc45649] PhaseIterGVN::transform_old(Node*)+0xb9
V [libjvm.so+0x8568e6] IfNode::fold_compares_helper(ProjNode*, ProjNode*, ProjNode*, PhaseIterGVN*)+0xaf6
V [libjvm.so+0x8576a2] IfNode::fold_compares(PhaseIterGVN*)+0x4d2
V [libjvm.so+0x8593e6] IfNode::Ideal(PhaseGVN*, bool)+0x236
V [libjvm.so+0xc4562b] PhaseIterGVN::transform_old(Node*)+0x9b
V [libjvm.so+0xc41ff8] PhaseIterGVN::optimize()+0xf8
V [libjvm.so+0x63e5e8] Compile::Optimize()+0x168
V [libjvm.so+0x63fff3] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0xc93
V [libjvm.so+0x563c84] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0xd4
V [libjvm.so+0x649883] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x563
V [libjvm.so+0x64ad08] CompileBroker::compiler_thread_loop()+0x468
V [libjvm.so+0xea0951] JavaThread::thread_main_inner()+0x201
V [libjvm.so+0xe9c75c] Thread::call_run()+0x15c
V [libjvm.so+0xbeeac6] thread_native_entry(Thread*)+0xf6
Environment
- OpenJDK11 < 11.0.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.