JDK-8224688 : C2 assert in ArrayCopyNode
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2019-05-23
  • Updated: 2019-05-23
  • Resolved: 2019-05-23
Related Reports
Duplicate :  
Description
While running RunThese30M.java in mach5

#  Internal Error (open/src/hotspot/share/opto/node.hpp:371), pid=17801, tid=17815
#  assert(i < _max) failed: oob: i=1, _max=1

Current CompileTask:
C2:  44585 11411   !b  4       javasoft.sqe.tests.api.java.io.DataOutputStream.writeTests::DataOutputStream0007 (808 bytes)

Stack: [0x00007f16fd53d000,0x00007f16fd63e000],  sp=0x00007f16fd6391f0,  free space=1008k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x5f1524]  ArrayCopyNode::load(BarrierSetC2*, PhaseGVN*, Node*&, MergeMemNode*, Node*, TypePtr const*, Type const*, BasicType)+0xf4
V  [libjvm.so+0x5f6fd3]  ArrayCopyNode::array_copy_forward(PhaseGVN*, bool, Node*&, MergeMemNode*, TypePtr const*, TypePtr const*, Node*, Node*, Node*, Node*, BasicType, Type const*, int)+0x2c3
V  [libjvm.so+0x5f908d]  ArrayCopyNode::Ideal(PhaseGVN*, bool)+0x117d
V  [libjvm.so+0x14853f0]  PhaseIterGVN::transform_old(Node*)+0xe0
V  [libjvm.so+0x148605d]  PhaseIterGVN::optimize()+0x5d
V  [libjvm.so+0x9bf69b]  Compile::Optimize()+0x6ab
V  [libjvm.so+0x9c122a]  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x11ba
V  [libjvm.so+0x80268d]  C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x10d
V  [libjvm.so+0x9cdbad]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x46d
V  [libjvm.so+0x9ceba8]  CompileBroker::compiler_thread_loop()+0x3b8
V  [libjvm.so+0x16c1f0a]  JavaThread::thread_main_inner()+0x26a
V  [libjvm.so+0x16ca567]  JavaThread::run()+0x227
V  [libjvm.so+0x16c7696]  Thread::call_run()+0xf6
V  [libjvm.so+0x13e2ace]  thread_native_entry(Thread*)+0x10e

Comments
This looks like a duplicate of JDK-8224539, which I missed while looking for anything similar.
23-05-2019