C2: assert(false) failed: no node with a side effect, with -XX:+StressIncrementalInlining

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 27
    • Component/s: hotspot

      At least the following tests fail with JVM args "-XX:-TieredCompilation -XX:VerifyIterativeGVN=1110 -XX:+UnlockDiagnosticVMOptions -XX:+StressIncrementalInlining" with assert(false) failed: no node with a side effect:
       - compiler/vectorapi/TestBiMorphicMismatchedMemSegment.java
       - compiler/loopopts/superword/TestEquivalentInvariants.java
       - compiler/loopopts/superword/TestAliasingFuzzer.java
       - compiler/loopopts/TestArrayFillIntrinsic.java

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (src/hotspot/share/opto/loopopts.cpp:1748), pid=303020, tid=303040
      # assert(false) failed: no node with a side effect
      #
      # JRE version: Java(TM) SE Runtime Environment (27.0+6) (fastdebug build 27-ea+6-453)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-ea+6-453, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x15ccbf6] PhaseIdealLoop::try_sink_out_of_loop(Node*)+0xd06

      Current CompileTask:
      C2:2018 373 % b compiler.loopopts.TestArrayFillIntrinsic::testFillShortArrayWithByte @ 2 (26 bytes)

      Stack: [0x0000ffff594ea000,0x0000ffff596e8000], sp=0x0000ffff596e23c0, free space=2016k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x135dc54] PhaseIdealLoop::try_sink_out_of_loop(Node*)+0xb0c (loopopts.cpp:1748)
      V [libjvm.so+0x135de68] PhaseIdealLoop::split_if_with_blocks_post(Node*)+0xa8 (loopopts.cpp:1547)
      V [libjvm.so+0x135e824] PhaseIdealLoop::split_if_with_blocks(VectorSet&, Node_Stack&)+0xc4 (loopopts.cpp:2007)
      V [libjvm.so+0x134fb84] PhaseIdealLoop::build_and_optimize()+0x1044 (loopnode.cpp:5261)
      V [libjvm.so+0x9f28e0] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x340 (loopnode.hpp:1233)
      V [libjvm.so+0x9eadd8] Compile::optimize_loops(PhaseIterGVN&, LoopOptsMode)+0x88 (compile.cpp:2268)
      V [libjvm.so+0x9ed270] Compile::Optimize()+0xa70 (compile.cpp:2517)
      V [libjvm.so+0x9ef84c] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x16a0 (compile.cpp:862)
      V [libjvm.so+0x816c78] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x2d4 (c2compiler.cpp:147)
      V [libjvm.so+0x9fe5cc] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xb08 (compileBroker.cpp:2345)
      V [libjvm.so+0x9ff4f8] CompileBroker::compiler_thread_loop()+0x638 (compileBroker.cpp:1989)
      V [libjvm.so+0xf09368] JavaThread::thread_main_inner()+0x108 (javaThread.cpp:776)
      V [libjvm.so+0x189474c] Thread::call_run()+0xac (thread.cpp:242)
      V [libjvm.so+0x15620dc] thread_native_entry(Thread*)+0x11c (os_linux.cpp:860)
      C [libc.so.6+0x80b50] start_thread+0x300

            Assignee:
            Unassigned
            Reporter:
            Manuel Hässig
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: