-
Bug
-
Resolution: Fixed
-
P3
-
18, 19, 20, 21, 22
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8323365 | 21.0.3-oracle | Aleksey Shipilev | P3 | Resolved | Fixed | b01 |
JDK-8319772 | 21.0.2 | Aleksey Shipilev | P3 | Resolved | Fixed | b07 |
CompileCommand: compileonly Test4.test* bool compileonly = true
o137 CountedLoopEnd === o144 o155 o154 [[ o138 o140 7 ]] [gt] P=0,900000, C=-1,000000
--N: o137 CountedLoopEnd === o144 o155 o154 [[ o138 o140 7 ]] [gt] P=0,900000, C=-1,000000
--N: o155 Bool === _ o154 [[ o137 ]] [gt]
CMPOP 0 CMPOP
CMPOPU 0 CMPOPU
CMPOPUCF 0 CMPOPUCF
CMPOP_VCMPPD 0 CMPOP_VCMPPD
--N: o154 CmpU === _ o85 o24 [[ o155 o137 ]]
RFLAGSREGU 100 compU_rReg
--N: o85 Phi === o144 o20 o97 [[ o97 o154 ]] #int:min+1..0
RREGI 0 RREGI
RAX_REGI 0 RAX_REGI
RBX_REGI 0 RBX_REGI
RCX_REGI 0 RCX_REGI
RDX_REGI 0 RDX_REGI
RDI_REGI 0 RDI_REGI
NO_RAX_RDX_REGI 0 NO_RAX_RDX_REGI
NO_RBP_R13_REGI 0 NO_RBP_R13_REGI
STACKSLOTI 100 storeSSI
--N: o24 LoadI === _ o7 o23 [[ o26 o154 ]] @java/lang/Class (java/io/Serializable,java/lang/constant/Constable,java/lang/reflect/AnnotatedElement,java/lang/invoke/TypeDescriptor,java/lang/reflect/GenericDeclaration,java/lang/reflect/Type,java/lang/invoke/TypeDescriptor$OfField):exact+112 *, name=limit, idx=4; #int
RREGI 0 RREGI
RAX_REGI 0 RAX_REGI
RBX_REGI 0 RBX_REGI
RCX_REGI 0 RCX_REGI
RDX_REGI 0 RDX_REGI
RDI_REGI 0 RDI_REGI
NO_RAX_RDX_REGI 0 NO_RAX_RDX_REGI
NO_RBP_R13_REGI 0 NO_RBP_R13_REGI
STACKSLOTI 100 storeSSI
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S24783/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d520ea84-8540-4e3f-bebb-7467656d99a8/runs/a75cd7f7-52f4-4fb9-b459-e34df625d6c3/workspace/open/src/hotspot/share/opto/matcher.cpp:1723), pid=476875, tid=476888
# assert(false) failed: bad AD file
#
# JRE version: Java(TM) SE Runtime Environment (21.0+22) (fastdebug build 21-ea+22-LTS-1875)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 21-ea+22-LTS-1875, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x12ede38] Matcher::Label_Root(Node const*, State*, Node*, Node*&)+0x508
Current CompileTask:
C2: 1865 82 b Test4::test (30 bytes)
Stack: [0x00007fd3b5218000,0x00007fd3b5319000], sp=0x00007fd3b5313bc0, free space=1006k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x12ede38] Matcher::Label_Root(Node const*, State*, Node*, Node*&)+0x508 (matcher.cpp:1723)
V [libjvm.so+0x12ee447] Matcher::match_tree(Node const*)+0x187
V [libjvm.so+0x12f5a4d] Matcher::xform(Node*, int)+0xc7d
V [libjvm.so+0x12fb039] Matcher::match()+0x1649
V [libjvm.so+0x9b79ca] Compile::Code_Gen()+0x9a
V [libjvm.so+0x9bd7e9] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1b89
V [libjvm.so+0x814aa4] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x3c4
V [libjvm.so+0x9c94f0] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x9e0
V [libjvm.so+0x9ca398] CompileBroker::compiler_thread_loop()+0x628
V [libjvm.so+0xe6594e] JavaThread::thread_main_inner()+0xee
V [libjvm.so+0x17361e8] Thread::call_run()+0xb8
V [libjvm.so+0x14371da] thread_native_entry(Thread*)+0x11a
Running with -XX:+TraceLoopOpts also triggers this:
Counted Loop: N144/N138 counted [0,int),-2147483648 (-1 iters)
Loop: N0/N0 has_sfpt
Loop: N143/N142 limit_check profile_predicated predicated
Loop: N144/N138 limit_check profile_predicated predicated counted [0,int),-2147483648 (-1 iters) has_sfpt strip_mined
Loop: N0/N0 has_sfpt
Loop: N143/N142 limit_check profile_predicated predicated sfpts={ 145 }
Loop: N144/N138 limit_check profile_predicated predicated counted [int,int),#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S24783/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d520ea84-8540-4e3f-bebb-7467656d99a8/runs/a75cd7f7-52f4-4fb9-b459-e34df625d6c3/workspace/open/src/hotspot/share/opto/type.hpp:596), pid=479842, tid=479855
# Error: assert(is_con()) failed
#
# JRE version: Java(TM) SE Runtime Environment (21.0+22) (fastdebug build 21-ea+22-LTS-1875)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 21-ea+22-LTS-1875, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x17585f3] TypeInteger::get_con_as_long(BasicType) const+0xb3
Current CompileTask:
C2: 1725 82 b Test4::test (30 bytes)
Stack: [0x00007f76b7638000,0x00007f76b7739000], sp=0x00007f76b7732fb0, free space=1003k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x17585f3] TypeInteger::get_con_as_long(BasicType) const+0xb3 (type.hpp:596)
V [libjvm.so+0x12236cc] IdealLoopTree::dump_head()+0x51c
V [libjvm.so+0x122396b] IdealLoopTree::dump()+0x5b
V [libjvm.so+0x123c8cd] PhaseIdealLoop::build_and_optimize()+0xfdd
V [libjvm.so+0x9be9d0] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x250
V [libjvm.so+0x9bb02e] Compile::Optimize()+0x10fe
V [libjvm.so+0x9bd705] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1aa5
V [libjvm.so+0x814aa4] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x3c4
V [libjvm.so+0x9c94f0] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x9e0
V [libjvm.so+0x9ca398] CompileBroker::compiler_thread_loop()+0x628
V [libjvm.so+0xe6594e] JavaThread::thread_main_inner()+0xee
V [libjvm.so+0x17361e8] Thread::call_run()+0xb8
V [libjvm.so+0x14371da] thread_native_entry(Thread*)+0x11a
- backported by
-
JDK-8319772 C2 compilation fails with "bad AD file"
- Resolved
-
JDK-8323365 C2 compilation fails with "bad AD file"
- Resolved
- relates to
-
JDK-8276162 Optimise unsigned comparison pattern
- Resolved
-
JDK-8302814 Delete unused CountLoopEnd instruct with CmpX
- Resolved
-
JDK-8316719 C2 compilation still fails with "bad AD file"
- Resolved
-
JDK-8323154 C2: assert(cmp != nullptr && cmp->Opcode() == Op_Cmp(bt)) failed: no exit test
- Resolved
- links to
-
Commit openjdk/jdk21u/37888d29
-
Commit openjdk/jdk/969fcdb0
-
Review openjdk/jdk21u/190
-
Review openjdk/jdk/15551