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

CTW assertion "can only swap operand if commutative" at c1_LIROptimizer_i486.cpp

    XMLWordPrintable

Details

    • hopper
    • sparc
    • solaris_9
    • Verified

    Description



      Name: gv34239 Date: 03/27/2002



      VM:client
      OS:linux-i386 , solx86

      Following assertion occur when running Compile The World tests.

      #
      # Java VM: Java HotSpot(TM) Client VM (20020322102056.jmasa.baseline-fastdebug1-debug mixed mode)
      #
      # assert(is_commutative, "can only swap operand if commutative")
      #
      # Error ID: /export/imgr/20020322102056.jmasa.baseline/ws/src/cpu/i486/vm/c1_LIROptimizer_i486.cpp, 165
      #
      # Problematic Thread: prio=1 tid=0x0x80bf2f0 nid=0x27b7 runnable
      #
      Current thread is 0x1c08
      Dumping core ...
      VM option '+CompileTheWorld'
      VM option '+PatchALot'
      VM option 'MinInliningThreshold=0'
      VM option 'MaxPermSize=64m'
      VM option 'CompileTheWorldStartAt=2500'
      VM option 'CompileTheWorldStopAt=2999'
      Exit Value 0
      *****Compile The World End AT Mon Mar 25 14:31:18 PST 2002*****
      This assertion occured in following log files
      ========================================================
      file:/net/taloraan.sfbay/export/vsn/VM/hopper/pit/ctw/linux-i386/client/b06/Failed/ctw.testbase.jar.2500.2999.txt
      jar: /.automount/sqesvr.sfbay/root/export/vsn/VM/testbase/testbase_vm/src/jit/compiletheworld/jars/q-t/testbase.jar

      Please look into rerun scripts for more detail.

      #########################
      # To reproduce the bug:
      #########################
      1. cd /net/jano.sfbay/export/disk20/GammaBase/Bugs/[bug ID]
      2. edit script if needed.
      3. run one of the shell scripts:
         run.testbase.jar.2500.2999.ksh

      #########################
      # Rerun script
      #########################
      $ cat run.testbase.jar.2500.2999.ksh
      #!/bin/ksh
      # Script automatic generated at Mon Mar 25 14:30:32 PST 2002 by gridadm
      #
      print "Running $(cd $(dirname $0) ; pwd)/$(basename $0)"
      ulimit -s 8192


      export JAVA_HOME=/net/sqesvr.sfbay/export/vsn/VM/hopper/pit/jdk/latest/linux-i386
      case "$(uname)" in
        SunOS)
          platform="$(uname -p)" # i386 or sparc
          ;;
        Linux|Windows*)
          platform="i386"
          ;;
      esac
      FLAGS="-client -verify -XX:+CompileTheWorld -XX:+PatchALot -XX:MinInliningThreshold=0 -XX:MaxPermSize=64m"
      VMTYPE="-client"
      JARFILE="/net/sqesvr.sfbay/export/vsn/VM/testbase/testbase_vm/src/jit/compiletheworld/jars/q-t/testbase.jar"
      START=2500
      END=2999
      CMDLINE="$JAVA_HOME/bin/java $FLAGS -XX:CompileTheWorldStartAt=$START -XX:CompileTheWorldStopAt=$END -Xbootclasspath/p:${JARFILE}"

      print "*****Debug Info: java -version(-Xinternalversion)*****"
      $JAVA_HOME/bin/java ${VMTYPE} -version 2>&1
      $JAVA_HOME/bin/java ${VMTYPE} -fullversion 2>&1
      $JAVA_HOME/bin/java ${VMTYPE} -Xinternalversion 2>&1
      print "*****Debug Info: JAVA_HOME*****"
      print "JAVA_HOME=$JAVA_HOME"
      print "*****Debug Info: Machine Used*****"
      print "$(uname -a)"

      print "*****Debug Info: Command Line As Follow*****"
      print "$CMDLINE"
      print "*****Compile The World Start AT $(date)*****"
      ksh -c "${CMDLINE}"
      print "Exit Value $?"
      echo "*****Compile The World End AT $(date)*****"
          
      -------------------------------------------------------------

      Assertion also happens on solx86/client:

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

      Attachments

        Activity

          People

            never Tom Rodriguez
            gvaidyansunw Geetha Vaidyanaathan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: