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

assert failed: No dead instructions after post-alloc

XMLWordPrintable

    • x86_64
    • linux_ubuntu

      ADDITIONAL SYSTEM INFORMATION :
      # JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug--b00)
      # Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug mixed mode linux-amd64 compressed oops)

      A DESCRIPTION OF THE PROBLEM :
      I ran a modified regression test case on JDK8u392 and found that the JVM crashed with -XX:-TieredCompilation options.

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/xxxxx/jdk8u/hotspot/src/share/vm/opto/chaitin.cpp:1600), pid=79700, tid=0x00007f4c4af5f700
      # assert(n->outcnt() != 0 || C->top() == n || n->is_Proj()) failed: No dead instructions after post-alloc
      #
      # JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug--b00)
      # Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug mixed mode linux-amd64 compressed oops)
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      java -XX:-TieredCompilation compiler.c2.TestRemoveMemBarPrecEdge

      ACTUAL -
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/chaitin.cpp:1600
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/xxxxx/jdk8u/hotspot/src/share/vm/opto/chaitin.cpp:1600), pid=79700, tid=0x00007f4c4af5f700
      # assert(n->outcnt() != 0 || C->top() == n || n->is_Proj()) failed: No dead instructions after post-alloc
      #
      # JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug--b00)
      # Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug mixed mode linux-amd64 compressed oops)
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # An error report file with more information is saved as:
      # /xxxxx/hs_err_pid79700.log
      #
      # Compiler replay data is saved as:
      # /xxxxx/replay_pid79700.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

      ---------- BEGIN SOURCE ----------
      The source code is attached
      ---------- END SOURCE ----------

      FREQUENCY : always

        1. hs_err_pid79700-scrubbed.log
          176 kB
          Sandra Payne
        2. TestRemoveMemBarPrecEdge.class
          0.8 kB
          Sandra Payne
        3. TestRemoveMemBarPrecEdge.java
          2 kB
          Sandra Payne

            Unassigned Unassigned
            spayne Sandra Payne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: