JDK-8262289 : [lworld] LoopNode::verify_strip_mined fails
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2021-02-24
  • Updated: 2021-03-16
  • Resolved: 2021-03-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-valhallaResolved
Related Reports
Duplicate :  
Description
Running TestArrays with -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:-DoEscapeAnalysis -XX:+AlwaysIncrementalInline -DVerifyIR=false

# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/oracle/valhalla/open/src/hotspot/share/opto/loopnode.cpp:1831), pid=314096, tid=314109
#  assert(outer->outcnt() >= phis + 2 - be_loads && outer->outcnt() <= phis + 2 + stores + 1) failed: only phis

Current CompileTask:
C2:   3793  285    b        compiler.valhalla.inlinetypes.TestArrays::test78 (56 bytes)

Stack: [0x00007fed9fcff000,0x00007fed9fe00000],  sp=0x00007fed9fdfafc0,  free space=1007k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x1347c9c]  LoopNode::verify_strip_mined(int) const+0xc0c
V  [libjvm.so+0xa3cef5]  Compile::final_graph_reshaping_impl(Node*, Final_Reshape_Counts&) [clone .part.0]+0x85
V  [libjvm.so+0xa3d658]  Compile::final_graph_reshaping_walk(Node_Stack&, Node*, Final_Reshape_Counts&)+0x198
V  [libjvm.so+0xa3f3c1]  Compile::final_graph_reshaping()+0x3d1
V  [libjvm.so+0xa4a967]  Compile::Optimize()+0x1a17
V  [libjvm.so+0xa4c493]  Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x1a53
V  [libjvm.so+0x861c98]  C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1f8
V  [libjvm.so+0xa5c471]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0xea1
V  [libjvm.so+0xa5d0f8]  CompileBroker::compiler_thread_loop()+0x5a8
V  [libjvm.so+0x1921766]  JavaThread::thread_main_inner()+0x256
V  [libjvm.so+0x1927bf0]  Thread::call_run()+0x100
V  [libjvm.so+0x15eaa66]  thread_native_entry(Thread*)+0x116
Comments
Roland, could you please have a look?
24-02-2021