JDK-8266712 : [lworld] compiler/loopstripmining/DeadNodesInOuterLoopAtLoopCloning.java fails after merge
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-05-07
  • Updated: 2021-05-07
  • Resolved: 2021-05-07
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-valhallaFixed
Related Reports
Relates :  
Relates :  
Description
src/hotspot/share/opto/node.hpp:946), pid=9052, tid=9071
#  assert(is_LoadVector()) failed: invalid node class: StoreVector

Current CompileTask:
C2:    392   70   !         DeadNodesInOuterLoopAtLoopCloning::iMeth (171 bytes)

Stack: [0x00007f02583f8000,0x00007f02584f9000],  sp=0x00007f02584f3770,  free space=1005k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x14f9d8f]  MemNode::can_see_stored_value(Node*, PhaseTransform*) const+0x71f
V  [libjvm.so+0x14fd1a6]  StoreNode::Identity(PhaseGVN*)+0xa6
V  [libjvm.so+0x16d690e]  PhaseIterGVN::transform_old(Node*)+0x48e
V  [libjvm.so+0x16ceefe]  PhaseIterGVN::optimize()+0x7e
V  [libjvm.so+0xa8244a]  PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x6da
V  [libjvm.so+0xa7e8eb]  Compile::Optimize()+0x150b
V  [libjvm.so+0xa80470]  Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x16a0
V  [libjvm.so+0x88a6e8]  C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1f8
V  [libjvm.so+0xa91179]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0xfb9
V  [libjvm.so+0xa91ef8]  CompileBroker::compiler_thread_loop()+0x5a8
V  [libjvm.so+0x198fbc1]  JavaThread::thread_main_inner()+0x271
V  [libjvm.so+0x1997600]  Thread::call_run()+0x100
V  [libjvm.so+0x164354e]  thread_native_entry(Thread*)+0x10e
Comments
JDK-8189802 weakened the conditions for calling can_see_stored_value from StoreNode::Identity: http://hg.openjdk.java.net/valhalla/valhalla/rev/b826402f953a#l16.35 New code added by JDK-8263972 needs to be adjusted accordingly.
07-05-2021