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

loopnode.cpp:1855: assert(outer->outcnt() >= phis + 2 && outer->outcnt() <= phis + 2 + stores + 1) failed: only phis



    • Bug
    • Resolution: Duplicate
    • P4
    • None
    • 16
    • hotspot


      running CTW for sunflow.jar from SPECjvm2008 hits the following assert:

      # A fatal error has been detected by the Java Runtime Environment:
      # Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S11711/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5d04abd4-1dc7-4d04-ab43-1d947429c3e5/runs/7479d394-1384-4800-8cf9-dc038bd0515b/workspace/open/src/hotspot/share/opto/loopnode.cpp:1855), pid=71756, tid=41731
      # assert(outer->outcnt() >= phis + 2 && outer->outcnt() <= phis + 2 + stores + 1) failed: only phis
      # JRE version: Java(TM) SE Runtime Environment (16.0+26) (fastdebug build 16-ea+26-1696)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 16-ea+26-1696, mixed mode, sharing, compressed oops, g1 gc, bsd-amd64)
      # Core dump will be written. Default location: core.71756
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp

      Current thread (0x00007fa5e8051220): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=41731, stack(0x000070000202b000,0x000070000212b000)]

      Current CompileTask:
      C2: 39530 3246 % b org.sunflow.math.QMC::<clinit> @ 153 (362 bytes)

      Stack: [0x000070000202b000,0x000070000212b000], sp=0x00007000021269d0, free space=1006k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x114b2ad] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x6dd
      V [libjvm.dylib+0x114b8cb] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x3b
      V [libjvm.dylib+0x60ca5f] report_vm_error(char const*, int, char const*, char const*, ...)+0x13f
      V [libjvm.dylib+0xc826f7] LoopNode::verify_strip_mined(int) const+0xf37
      V [libjvm.dylib+0x5bfdc1] Compile::final_graph_reshaping_impl(Node*, Final_Reshape_Counts&)+0x581
      V [libjvm.dylib+0x5c3ebc] Compile::final_graph_reshaping_walk(Node_Stack&, Node*, Final_Reshape_Counts&)+0x33c
      V [libjvm.dylib+0x5bc6bf] Compile::final_graph_reshaping()+0x2cf
      V [libjvm.dylib+0x5b4327] Compile::Optimize()+0x387
      V [libjvm.dylib+0x5b28a9] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x17f9
      V [libjvm.dylib+0x4a6670] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0xe0
      V [libjvm.dylib+0x5cecd8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x608
      V [libjvm.dylib+0x5ce466] CompileBroker::compiler_thread_loop()+0x2e6
      V [libjvm.dylib+0x10a49b4] JavaThread::thread_main_inner()+0x2b4
      V [libjvm.dylib+0x10a06e7] Thread::call_run()+0x1b7
      V [libjvm.dylib+0xe614df] thread_native_entry(Thread*)+0x15f
      C [libsystem_pthread.dylib+0x3661] _pthread_body+0x154
      C [libsystem_pthread.dylib+0x350d] _pthread_body+0x0
      C [libsystem_pthread.dylib+0x2bf9] thread_start+0xd


        Issue Links



              chagedorn Christian Hagedorn
              iignatyev Igor Ignatyev (Inactive)
              0 Vote for this issue
              4 Start watching this issue