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

JVM crashes at reg_split.cpp during heavy load test in 1.5b55 on Itenium2

XMLWordPrintable

    • b59
    • x86
    • linux_redhat_3.0

      When heavy load test applies to JVM(1.5b55), it crashes at register allocation.

      REPRODUCE :

        1) Compile the attached program

        
      ---- Test.java ---->

      class Test{

          static void goToHeaven(double arg){

            StringBuffer buf = new StringBuffer();

            if (arg < 0.0d){
               buf.append('-');
               arg = -arg;
            }

            int i3 = (int)(arg * 2.0d);

            buf.append(i3);

          }

          public static void main(String[] args){

          // force compilation
            (new StringBuffer()).append(1);

          // Now, go to heaven
             goToHeaven(0.5);

          }

      }

      <------------------

        
      2) Launch the java or java_g command with options,
          -Xcomp and -XX:-BackgroundCompilation

          ex.
            "java -Xcomp -XX:-BackgroundCompilation Test"


        You will see the following crash message.

      2-1) java command

      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # SIGSEGV (0xb) at pc=0x2000000001089ca0, pid=9001, tid=2305843011035756752
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-beta3-b55 compiled mode)
      # Problematic frame:
      # V [libjvm.so+0xd7dca0]
      #
      # An error report file with more information is saved as hs_err_pid9001.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp



      2-2) java_g command

      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/reg_split.cpp:802]
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error (/BUILD_AREA/jdk1.5.0/hotspot/src/share/vm/opto/reg_split.cpp, 802), pid=9024, tid=230584301105253
      3968
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-beta3-b55-debug compiled mode)
      #
      # Error: assert(def != __null,"Using Undefined Value in Split()
      ")
      # An error report file with more information is saved as hs_err_pid9024.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #


      CONFIGURATION ;

         OS : RedHat Enterprise Linux AS 3.0
         JRE : 1.5b55

      java version "1.5.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b55)
      Java HotSpot(TM) 64-Bit Server VM (build 1.5.0-beta3-b55, compiled mode)



      ===============================================================================

            rasbold Chuck Rasbold
            tbaba Tadayuki Baba (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: