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

CTW: C2 (Shenandoah) fails with assert(igvn._worklist.size() == 0) failed: not empty

XMLWordPrintable

      $ export JAVA_HOME=<point to fastdebug build>
      $ export PATH=$JAVA_HOME/bin:$PATH
      $ cd test/hotspot/jtreg/testlibrary/ctw
      $ make
      $ cd dist
      $ wget https://repo1.maven.org/maven2/com/addthis/basis/basis-core/4.3.1/basis-core-4.3.1.jar
      $ JAVA_OPTIONS="-XX:+UseShenandoahGC" ./ctw.sh basis-core-4.3.1.jar

      ...
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/shade/trunks/jdk/src/hotspot/share/opto/compile.cpp:2230), pid=3355142, tid=3355183
      # assert(igvn._worklist.size() == 0) failed: not empty

      Current CompileTask:
      C2: 3020 3384 b 4 com.addthis.basis.util.TokenReplacer::process (199 bytes)

      Stack: [0x00007f198f0f1000,0x00007f198f1f2000], sp=0x00007f198f1ed660, free space=1009k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xa1d8d7] Compile::Optimize()+0x12b7
      V [libjvm.so+0xa1f11a] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x182a
      V [libjvm.so+0x85c252] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1d2
      V [libjvm.so+0xa30828] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xea8
      V [libjvm.so+0xa313e8] CompileBroker::compiler_thread_loop()+0x5b8
      V [libjvm.so+0x19f5746] JavaThread::thread_main_inner()+0x266
      V [libjvm.so+0x19fc1f4] Thread::call_run()+0x104
      V [libjvm.so+0x159824e] thread_native_entry(Thread*)+0x11e

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

              Created:
              Updated:
              Resolved: