Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8263376

CTW (Shenandoah): assert(mems <= 1) failed: No node right after call if multiple mem projections

XMLWordPrintable

    • b16

      $ cd test/hotspot/jtreg/testlibrary/ctw
      $ make
      $ cd dist
      $ wget https://repo1.maven.org/maven2/org/vraptor/vraptor/2.6.2/vraptor-2.6.2.jar
      $ JAVA_OPTIONS="-XX:+UseShenandoahGC" ./ctw.sh vraptor-2.6.2.jar

      # Internal Error (/home/shade/trunks/jdk/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp:2479), pid=604910, tid=604921
      # assert(mems <= 1) failed: No node right after call if multiple mem projections
      #
      # JRE version: OpenJDK Runtime Environment (17.0) (fastdebug build 17-internal+0-adhoc.shade.jdk)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 17-internal+0-adhoc.shade.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, shenandoah gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x184795b] MemoryGraphFixer::find_mem(Node*, Node*) const+0x8bb

      Current CompileTask:
      C2: 1979 1696 !b 4 org.vraptor.introspector.ExpressionEvaluator::invokeGetter (151 bytes)

      Stack: [0x00007f5d4c47b000,0x00007f5d4c57c000], sp=0x00007f5d4c575dc0, free space=1003k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x184795b] MemoryGraphFixer::find_mem(Node*, Node*) const+0x8bb
      V [libjvm.so+0x184e092] MemoryGraphFixer::fix_mem(Node*, Node*, Node*, Node*, Node*, Unique_Node_List&)+0xb12
      V [libjvm.so+0x18514f0] ShenandoahBarrierC2Support::pin_and_expand(PhaseIdealLoop*)+0x2390
      V [libjvm.so+0x17440b4] ShenandoahBarrierSetC2::optimize_loops(PhaseIdealLoop*, LoopOptsMode, VectorSet&, Node_Stack&, Node_List&) const+0x44
      V [libjvm.so+0x12f6584] PhaseIdealLoop::build_and_optimize(LoopOptsMode)+0x11c4
      V [libjvm.so+0xa4decf] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x32f
      V [libjvm.so+0x18455d0] ShenandoahBarrierC2Support::expand(Compile*, PhaseIterGVN&)+0x70
      V [libjvm.so+0x1743f83] ShenandoahBarrierSetC2::expand_barriers(Compile*, PhaseIterGVN&) const+0x13
      V [libjvm.so+0xa4b4b5] Compile::Optimize()+0x1055
      V [libjvm.so+0xa4d066] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x1936
      V [libjvm.so+0x8809be] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1ee
      V [libjvm.so+0xa5e6c9] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xf39
      V [libjvm.so+0xa5f3b8] CompileBroker::compiler_thread_loop()+0x5b8
      V [libjvm.so+0x19c7341] JavaThread::thread_main_inner()+0x281
      V [libjvm.so+0x19cf3b4] Thread::call_run()+0x104
      V [libjvm.so+0x1569ece] thread_native_entry(Thread*)+0x11e

            roland Roland Westrelin
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: