-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P3
-
Affects Version/s: 27
-
Component/s: hotspot
The attached replay.log file fails with the following assertion failure:
$ java -XX:+ReplayCompiles -XX:+ReplayIgnoreInitErrors -XX:ReplayDataFile=replay.log
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S34988/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f3243ba7-b34c-4eb2-9276-e1867faa18c0/runs/041c28e0-2159-4d53-90b3-ac7f539a1569/workspace/open/src/hotspot/share/opto/parse2.cpp:1779), pid=39012, tid=39031
# Error: assert(val->find_edge(con) > 0) failed
#
# JRE version: Java(TM) SE Runtime Environment (27.0+4) (fastdebug build 27-ea+4-277)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-ea+4-277, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1865e34] Parse::sharpen_type_after_if(BoolTest::mask, Node*, Type const*, Node*, Type const*)+0xed4
.................
Command Line: -XX:+ReplayCompiles -XX:+ReplayIgnoreInitErrors -XX:ReplayDataFile=replay.log
.................
Current CompileTask:
C2:850 223 b 4 jdk.internal.net.http.quic.QuicEndpoint::onSendError (178 bytes)
Stack: [0x00007f9fc4b12000,0x00007f9fc4c12000], sp=0x00007f9fc4c0c950, free space=1002k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1865e34] Parse::sharpen_type_after_if(BoolTest::mask, Node*, Type const*, Node*, Type const*)+0xed4 (parse2.cpp:1779)
V [libjvm.so+0x18664e2] Parse::adjust_map_after_if(BoolTest::mask, Node*, float, Parse::Block*)+0x1a2 (parse2.cpp:1691)
V [libjvm.so+0x186790b] Parse::do_if(BoolTest::mask, Node*)+0x83b (parse2.cpp:1545)
V [libjvm.so+0x186f493] Parse::do_one_bytecode()+0xd93 (parse2.cpp:2778)
V [libjvm.so+0x185afc7] Parse::do_one_block()+0x357 (parse1.cpp:1593)
V [libjvm.so+0x185c2c0] Parse::do_all_blocks()+0x130 (parse1.cpp:724)
V [libjvm.so+0x185f833] Parse::Parse(JVMState*, ciMethod*, float)+0xa93 (parse1.cpp:628)
V [libjvm.so+0x9cfc4b] ParseGenerator::generate(JVMState*)+0x13b (callGenerator.cpp:97)
V [libjvm.so+0x9d6683] CallGenerator::do_late_inline_helper()+0xa63 (callGenerator.cpp:674)
V [libjvm.so+0xbaf619] Compile::inline_boxing_calls(PhaseIterGVN&)+0xc9 (compile.cpp:2088)
V [libjvm.so+0xbb2bbe] Compile::Optimize()+0x76e (compile.cpp:2352)
V [libjvm.so+0xbb62b3] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x2023 (compile.cpp:862)
V [libjvm.so+0x9cd4e8] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x498 (c2compiler.cpp:147)
V [libjvm.so+0xbc57a0] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x780 (compileBroker.cpp:2345)
V [libjvm.so+0xbc7000] CompileBroker::compiler_thread_loop()+0x530 (compileBroker.cpp:1989)
V [libjvm.so+0x112a41b] JavaThread::thread_main_inner()+0x13b (javaThread.cpp:776)
V [libjvm.so+0x1bb5d76] Thread::call_run()+0xb6 (thread.cpp:242)
V [libjvm.so+0x180ba18] thread_native_entry(Thread*)+0x118 (os_linux.cpp:860)
$ java -XX:+ReplayCompiles -XX:+ReplayIgnoreInitErrors -XX:ReplayDataFile=replay.log
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S34988/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f3243ba7-b34c-4eb2-9276-e1867faa18c0/runs/041c28e0-2159-4d53-90b3-ac7f539a1569/workspace/open/src/hotspot/share/opto/parse2.cpp:1779), pid=39012, tid=39031
# Error: assert(val->find_edge(con) > 0) failed
#
# JRE version: Java(TM) SE Runtime Environment (27.0+4) (fastdebug build 27-ea+4-277)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-ea+4-277, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1865e34] Parse::sharpen_type_after_if(BoolTest::mask, Node*, Type const*, Node*, Type const*)+0xed4
.................
Command Line: -XX:+ReplayCompiles -XX:+ReplayIgnoreInitErrors -XX:ReplayDataFile=replay.log
.................
Current CompileTask:
C2:850 223 b 4 jdk.internal.net.http.quic.QuicEndpoint::onSendError (178 bytes)
Stack: [0x00007f9fc4b12000,0x00007f9fc4c12000], sp=0x00007f9fc4c0c950, free space=1002k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1865e34] Parse::sharpen_type_after_if(BoolTest::mask, Node*, Type const*, Node*, Type const*)+0xed4 (parse2.cpp:1779)
V [libjvm.so+0x18664e2] Parse::adjust_map_after_if(BoolTest::mask, Node*, float, Parse::Block*)+0x1a2 (parse2.cpp:1691)
V [libjvm.so+0x186790b] Parse::do_if(BoolTest::mask, Node*)+0x83b (parse2.cpp:1545)
V [libjvm.so+0x186f493] Parse::do_one_bytecode()+0xd93 (parse2.cpp:2778)
V [libjvm.so+0x185afc7] Parse::do_one_block()+0x357 (parse1.cpp:1593)
V [libjvm.so+0x185c2c0] Parse::do_all_blocks()+0x130 (parse1.cpp:724)
V [libjvm.so+0x185f833] Parse::Parse(JVMState*, ciMethod*, float)+0xa93 (parse1.cpp:628)
V [libjvm.so+0x9cfc4b] ParseGenerator::generate(JVMState*)+0x13b (callGenerator.cpp:97)
V [libjvm.so+0x9d6683] CallGenerator::do_late_inline_helper()+0xa63 (callGenerator.cpp:674)
V [libjvm.so+0xbaf619] Compile::inline_boxing_calls(PhaseIterGVN&)+0xc9 (compile.cpp:2088)
V [libjvm.so+0xbb2bbe] Compile::Optimize()+0x76e (compile.cpp:2352)
V [libjvm.so+0xbb62b3] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x2023 (compile.cpp:862)
V [libjvm.so+0x9cd4e8] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x498 (c2compiler.cpp:147)
V [libjvm.so+0xbc57a0] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x780 (compileBroker.cpp:2345)
V [libjvm.so+0xbc7000] CompileBroker::compiler_thread_loop()+0x530 (compileBroker.cpp:1989)
V [libjvm.so+0x112a41b] JavaThread::thread_main_inner()+0x13b (javaThread.cpp:776)
V [libjvm.so+0x1bb5d76] Thread::call_run()+0xb6 (thread.cpp:242)
V [libjvm.so+0x180ba18] thread_native_entry(Thread*)+0x118 (os_linux.cpp:860)
- caused by
-
JDK-8372634 C2: Materialize type information from instanceof checks
-
- Resolved
-