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

C2: using -XX:AliasLevel=4 leads to a crash with "Error: Unimplemented()"

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      A DESCRIPTION OF THE PROBLEM :
      The boundary condition of the AliasLevel option in jdk8 is incorrect. Other JDK versions(jdk11, jdk17) require a range between 0 and 3

      $ java -XX:AliasLevel=4 -version
      java version "1.8.0_321"
      Java(TM) SE Runtime Environment (build 1.8.0_321-b07)
      Java HotSpot(TM) 64-Bit Server VM (build 25.321-b07, mixed mode)

      $ java -Xcomp -XX:AliasLevel=4 -version
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (compile.cpp:1571), pid=29287, tid=0x00007f7e289f2700
      # Error: Unimplemented()
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_321-b07) (build 1.8.0_321-b07)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.321-b07 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/user/hs_err_pid29287.log
      #
      # Compiler replay data is saved as:
      # /home/user/replay_pid29287.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #


      FREQUENCY : always


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: