[lworld] C2 fails to eliminate GC barriers when replacing inline type buffer allocation

XMLWordPrintable

      # Internal Error (/opt/mach5/mesos/work_dir/slaves/47535081-0322-4d83-bb78-f7e11abb86d0-S45798/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/24fccf38-7bbb-4fb8-921f-e57620f6b384/runs/7b94016a-33eb-4352-a1d9-74151322a24c/workspace/open/src/hotspot/share/opto/node.hpp:389), pid=18845, tid=18852
      # assert(_outcnt==1) failed: not unique

      Current CompileTask:
      C2: 26990 5355 b 4 compiler.valhalla.inlinetypes.TestLWorld::test71 (6 bytes)

      Stack: [0x00007f93006fb000,0x00007f93007fc000], sp=0x00007f93007f72c0, 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+0x8802b6] CardTableBarrierSetC2::eliminate_gc_barrier(PhaseIterGVN*, Node*) const+0xc6
      V [libjvm.so+0xe39f98] replace_allocation(PhaseIterGVN*, Node*, Node*)+0x588
      V [libjvm.so+0xe4137c] InlineTypeNode::Ideal(PhaseGVN*, bool)+0x4ec
      V [libjvm.so+0x167ef6d] PhaseIterGVN::transform_old(Node*)+0xed
      V [libjvm.so+0x1677a6e] PhaseIterGVN::optimize()+0x7e
      V [libjvm.so+0xa25b95] Compile::Optimize()+0x245
      V [libjvm.so+0xa28ee8] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x1ab8
      V [libjvm.so+0x8528fc] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1dc
      V [libjvm.so+0xa38d90] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xca0
      V [libjvm.so+0xa39898] CompileBroker::compiler_thread_loop()+0x5a8
      V [libjvm.so+0x191e2a6] JavaThread::thread_main_inner()+0x256
      V [libjvm.so+0x1924f60] Thread::call_run()+0x100
      V [libjvm.so+0x15efff6] thread_native_entry(Thread*)+0x116

            Assignee:
            Tobias Hartmann
            Reporter:
            Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: