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

assert(use == polladr) failed: the use should be a safepoint polling

XMLWordPrintable

    • b15
    • generic
    • generic

      It is a bug generated by JDK-8260637. It can be repoducted on both X86 and aarch64 with -XX:+OptimizeFill .

      This bug is the same one which is reported by Vladimir Kozlov in JDK-8261137 [ https://bugs.openjdk.java.net/secure/attachment/93466/hs_err_modules_java_desktop_0_305808.log ]

      reproduct:

       make run-test CONF=fast JTREG="JAVA_OPTIONS=-ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -Djava.awt.headless=true -Xbatch -XX:+OptimizeFill" TEST="javax/imageio/plugins/shared/RepeatingWriteTest.java"


      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/wanghuang/repo/jvm/openjdk/tmp/jdk/src/hotspot/share/opto/loopTransform.cpp:3711), pid=92006, tid=92112
      # assert(use == polladr) failed: the use should be a safepoint polling
      #
      # JRE version: OpenJDK Runtime Environment (17.0) (fastdebug build 17-internal+0-adhoc.wanghuang.jdk)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 17-internal+0-adhoc.wanghuang.jdk, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x1116eec] PhaseIdealLoop::match_fill_loop(IdealLoopTree*, Node*&, Node*&, Node*&, Node*&)+0xb04
      #
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

      --------------- T H R E A D ---------------

      Current thread : JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=92112]


      Current CompileTask:
      C2: 39170 2134 !b com.sun.imageio.plugins.tiff.TIFFImageReader::initializeFromMetadata (885 bytes)

      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1116eec] PhaseIdealLoop::match_fill_loop(IdealLoopTree*, Node*&, Node*&, Node*&, Node*&)+0xb04
      V [libjvm.so+0x111715c] PhaseIdealLoop::intrinsify_fill(IdealLoopTree*) [clone .part.181]+0xb4
      V [libjvm.so+0x1117e40] PhaseIdealLoop::do_intrinsify_fill()+0x288
      V [libjvm.so+0x1144db0] PhaseIdealLoop::build_and_optimize(LoopOptsMode)+0xda0
      V [libjvm.so+0x93a2f4] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x1cc
      V [libjvm.so+0x937b2c] Compile::Optimize()+0xd64
      V [libjvm.so+0x938d8c] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0xfb4
      V [libjvm.so+0x7a1d50] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0xf8
      V [libjvm.so+0x946070] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x848
      V [libjvm.so+0x946d18] CompileBroker::compiler_thread_loop()+0x478
      V [libjvm.so+0x17044a0] JavaThread::thread_main_inner()+0x290
      V [libjvm.so+0x1704780] JavaThread::run()+0x260
      V [libjvm.so+0x1709fa0] Thread::call_run()+0x100
      V [libjvm.so+0x1331144] thread_native_entry(Thread*)+0x11c
      C [libpthread.so.0+0x78bc] start_thread+0x19c

            whuang Wang Huang
            whuang Wang Huang
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: