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

assert(final_con == (jlong)final_int) failed: final value should be integer

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 compiled 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 -Xcomp options. The modification I made are in lines 45 to 79 of the source code. Although the error message obtained after execution matches the bug in the original regression test, which is JDK-8309266, running the original regression test on JDK8u392 does not trigger this issue. I believe this requires some fixes in JDK8.

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/data/jdk8u/hotspot/src/share/vm/opto/loopnode.cpp:926), pid=52834, tid=0x00007f197aa5a700
      # assert(final_con == (jlong)final_int) failed: final value should be integer
      #
      # 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 compiled 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 -Xcomp compiler.loopopts.TestLoopLimitOverflowDuringCCP

      ACTUAL -
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/loopnode.cpp:926
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/data/jdk8u/hotspot/src/share/vm/opto/loopnode.cpp:926), pid=52834, tid=0x00007f197aa5a700
      # assert(final_con == (jlong)final_int) failed: final value should be integer
      #
      # 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 compiled 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:
      # /home/repository/toreport/TestLoopLimitOverflowDuringCCP_09_28_10_53_34/hs_err_pid52834.log
      #
      # Compiler replay data is saved as:
      # /home/repository/toreport/TestLoopLimitOverflowDuringCCP_09_28_10_53_34/replay_pid52834.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

      ---------- BEGIN SOURCE ----------

      ---------- END SOURCE ----------

      FREQUENCY : always


            sswsharm swati sharma (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: