compiler/c2/TestNPEHeapBased.java fails with:
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/oracle/valhalla2/open/src/hotspot/share/opto/block.cpp:1252), pid=184256, tid=184271
# assert(n->is_Root() || n->is_Region() || n->is_Phi() || n->is_MachMerge() || def_block->dominates(block)) failed: uses must be dominated by definitions
Current CompileTask:
C2: 492 109 b java.util.HashSet::add (20 bytes)
Stack: [0x00007fe8faa38000,0x00007fe8fab39000], sp=0x00007fe8fab341e0, free space=1008k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x6cea09] PhaseCFG::verify() const+0x1e9
V [libjvm.so+0xa6d4a7] Compile::Code_Gen()+0x2c7
V [libjvm.so+0xa76252] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, bool, DirectiveSet*)+0x1832
V [libjvm.so+0x873b30] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x6a0
V [libjvm.so+0xa86ef9] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xfb9
V [libjvm.so+0xa87c68] CompileBroker::compiler_thread_loop()+0x5a8
V [libjvm.so+0x19973d1] JavaThread::thread_main_inner()+0x271
V [libjvm.so+0x199efd0] Thread::call_run()+0x100
V [libjvm.so+0x1641b04] thread_native_entry(Thread*)+0x104
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/oracle/valhalla2/open/src/hotspot/share/opto/block.cpp:1252), pid=184256, tid=184271
# assert(n->is_Root() || n->is_Region() || n->is_Phi() || n->is_MachMerge() || def_block->dominates(block)) failed: uses must be dominated by definitions
Current CompileTask:
C2: 492 109 b java.util.HashSet::add (20 bytes)
Stack: [0x00007fe8faa38000,0x00007fe8fab39000], sp=0x00007fe8fab341e0, free space=1008k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x6cea09] PhaseCFG::verify() const+0x1e9
V [libjvm.so+0xa6d4a7] Compile::Code_Gen()+0x2c7
V [libjvm.so+0xa76252] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, bool, DirectiveSet*)+0x1832
V [libjvm.so+0x873b30] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x6a0
V [libjvm.so+0xa86ef9] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xfb9
V [libjvm.so+0xa87c68] CompileBroker::compiler_thread_loop()+0x5a8
V [libjvm.so+0x19973d1] JavaThread::thread_main_inner()+0x271
V [libjvm.so+0x199efd0] Thread::call_run()+0x100
V [libjvm.so+0x1641b04] thread_native_entry(Thread*)+0x104
- relates to
-
JDK-8231561 [lworld] C2 generates inefficient code for acmp
-
- Resolved
-
-
JDK-8265726 [lworld] C2 compilation fails with assert "uses must be dominated by definitions"
-
- Resolved
-