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

sun4m: 8 JCK vm tests failed for both compiler1 and compiler2 in -Xcomp mode.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.3.0
    • 1.3.0
    • hotspot
    • sol-beta2
    • sparc
    • solaris_8


      Hostname: jtg-s210
      Hostid: 8087e027
      Release: 5.8
      Kernel architecture: sun4m
      Application architecture: sparc
      Hardware provider: Sun_Microsystems
      Domain: SCTE.Eng.Sun.COM
      Kernel version: SunOS 5.8 Generic 109291-02 May 2000

      jtg-s210:[42]% psrinfo -v
      Status of processor 0 as of: 06/15/00 16:03:32
        Processor has been on-line since 05/24/00 17:34:13.
        The sparc processor operates at 170 MHz,
              and has a sparc floating point processor.

      Run the following script to reproduce the failures:
      ===================================================
      jtg-s210:[49]% cat
      #!/bin/ksh

      i=0
      SWITCH=${1+$@}
      TESTBASE=/net/ultraowl.eng/export/ultraowl1/javatb/testbase
      JCK=${TESTBASE}/src/JCK-runtime-13rc2
      CLASSPATH=.:${JCK}/classes:${JCK}/javatest.jar
      PATH=/usr/java1.2/bin:/bin
      VM_FAILURES="javasoft.sqe.tests.vm.d2i.d2i001.d2i00101.d2i00101 javasoft.sqe.tests.vm.d2i.d2i001.d2i00102.d2i00102 javasoft.sqe.tests.vm.f2i.f2i001.f2i00101.f2i00101 javasoft.sqe.tests.vm.f2i.f2i001.f2i00102.f2i00102 javasoft.sqe.tests.vm.fp.fpm020.fpm02001m1.fpm02001m1 javasoft.sqe.tests.vm.fp.fpm020.fpm02001m2.fpm02001m2 javasoft.sqe.tests.vm.fp.fpm020.fpm02001m3.fpm02001m3 javasoft.sqe.tests.vm.fp.fpm020.fpm02001m4.fpm02001m4"

      export CLASSPATH PATH

      echo
      java ${SWITCH} -version
      echo
      for eachTest in ${VM_FAILURES}
      do
        echo "Test $i: Running \"${eachTest}\""
        echo
        java ${SWITCH} -Djava.security.policy=${JCK}/lib/jck.policy -verify ${eachTest}
        rc=$?
        print -n "\tSTATUS: ";
        if [ "${rc}" -ne "95" ]; then
          print -n "TEST FAILED";
        else
          print -n "TEST PASSED";
        fi
        echo
        echo
        let i=i+1
      done

      Partial output listing from the script:
      =======================================
      jtg-s210$ run_vm_failures.ksh -server -Xcomp

      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-b18)
      Java HotSpot(TM) Server VM (build 1.3.0-b18, compiled mode)

      Test 0: Running "javasoft.sqe.tests.vm.d2i.d2i001.d2i00101.d2i00101"

              STATUS: TEST FAILED

      Test 1: Running "javasoft.sqe.tests.vm.d2i.d2i001.d2i00102.d2i00102"

              STATUS: TEST FAILED

      Test 2: Running "javasoft.sqe.tests.vm.f2i.f2i001.f2i00101.f2i00101"

              STATUS: TEST FAILED

      Test 3: Running "javasoft.sqe.tests.vm.f2i.f2i001.f2i00102.f2i00102"

              STATUS: TEST FAILED

      Test 4: Running "javasoft.sqe.tests.vm.fp.fpm020.fpm02001m1.fpm02001m1"

      -- walkRight(aaRightRes, 25, 22) ---
        op: fcmpl; NaN (0x7fc00000) : sub NaN (0x7fc00000)
        from 1.4E-45 (0x1) * 1.0 (0x3f800000)
      -- walkRight(aaRightRes, 21, 21) ---
        op: fcmpl; NaN (0x7fc00000) : sub NaN (0x7fc00000)
        from 3.4028235E38 (0x7f7fffff) * Infinity (0x7f800000)
      -- walkRight(aaRightRes, 20, 20) ---
        op: fcmpl; NaN (0x7fc00000) : sub NaN (0x7fc00000)
        from -Infinity (0xff800000) * 1.0 (0x3f800000)
      -- walkRight(aaRightRes, 19, 19) ---
        op: fcmpl; NaN (0x7fc00000) : sub NaN (0x7fc00000)
        from Infinity (0x7f800000) * 1.0 (0x3f800000)
      -- walkRight(aaRightRes, 18, 18) ---
        op: fcmpl; NaN (0x7fc00000) : sub NaN (0x7fc00000)
        from 0.0 (0x0) * 1.0 (0x3f800000)
      -- walkRight(aaRightRes, 17, 17) ---
        op: fcmpl; NaN (0x7fc00000) : sub NaN (0x7fc00000)
        from -Infinity (0xff800000) * 0.0 (0x0)
      -- walkRight(aaRightRes, 16, 16) ---
        op: fcmpl; NaN (0x7fc00000) : sub 1.4E-45 (0x1)
        from Infinity (0x7f800000) * -0.0 (0x80000000)
      -- walkRight(aaRightRes, 15, 15) ---
        op: fcmpl; NaN (0x7fc00000) : sub 3.4028235E38 (0x7f7fffff)
        from -Infinity (0xff800000) * 0.0 (0x0)
      -- walkRight(aaRightRes, 14, 14) ---
        op: fcmpl; NaN (0x7fc00000) : sub -Infinity (0xff800000)
        from Infinity (0x7f800000) * 0.0 (0x0)
      -- walkRight(aaRightRes, 13, 13) ---
        op: fcmpl; NaN (0x7fc00000) : sub Infinity (0x7f800000)
        from Infinity (0x7f800000) * 0.0 (0x0)
      -- walkRight(aaRightRes, 12, 12) ---
        op: fcmpl; NaN (0x7fc00000) : sub 0.0 (0x0)
        from NaN (0x7fc00000) * 1.0 (0x3f800000)
      -- strictWalkRight(aaRightRes, 25, 22) ---
        op: fcmpl; NaN (0x7fc00000) : sub NaN (0x7fc00000)
        from 1.4E-45 (0x1) * 1.0 (0x3f800000)
      -- strictWalkRight(aaRightRes, 21, 21) ---
        op: fcmpl; NaN (0x7fc00000) : sub NaN (0x7fc00000)
        from 3.4028235E38 (0x7f7fffff) * Infinity (0x7f800000)
      -- strictWalkRight(aaRightRes, 20, 20) ---
        op: fcmpl; NaN (0x7fc00000) : sub NaN (0x7fc00000)
        from -Infinity (0xff800000) * 1.0 (0x3f800000)
      -- strictWalkRight(aaRightRes, 19, 19) ---
        op: fcmpl; NaN (0x7fc00000) : sub NaN (0x7fc00000)
        from Infinity (0x7f800000) * 1.0 (0x3f800000)
      -- strictWalkRight(aaRightRes, 18, 18) ---
        op: fcmpl; NaN (0x7fc00000) : sub NaN (0x7fc00000)
        from 0.0 (0x0) * 1.0 (0x3f800000)
      -- strictWalkRight(aaRightRes, 17, 17) ---
        op: fcmpl; NaN (0x7fc00000) : sub NaN (0x7fc00000)
        from -Infinity (0xff800000) * 0.0 (0x0)
      -- strictWalkRight(aaRightRes, 16, 16) ---
        op: fcmpl; NaN (0x7fc00000) : sub 1.4E-45 (0x1)
        from Infinity (0x7f800000) * -0.0 (0x80000000)
      -- strictWalkRight(aaRightRes, 15, 15) ---
        op: fcmpl; NaN (0x7fc00000) : sub 3.4028235E38 (0x7f7fffff)
        from -Infinity (0xff800000) * 0.0 (0x0)
      -- strictWalkRight(aaRightRes, 14, 14) ---
        op: fcmpl; NaN (0x7fc00000) : sub -Infinity (0xff800000)
        from Infinity (0x7f800000) * 0.0 (0x0)
      -- strictWalkRight(aaRightRes, 13, 13) ---
        op: fcmpl; NaN (0x7fc00000) : sub Infinity (0x7f800000)
        from Infinity (0x7f800000) * 0.0 (0x0)
      -- strictWalkRight(aaRightRes, 12, 12) ---
        op: fcmpl; NaN (0x7fc00000) : sub 0.0 (0x0)
        from NaN (0x7fc00000) * 1.0 (0x3f800000)
              STATUS: TEST FAILED

      Test 5: Running "javasoft.sqe.tests.vm.fp.fpm020.fpm02001m2.fpm02001m2"
      ....
      ....

      Using -Xcomp mode in both -client and -server will cause the above JCK vm tests to fail. However
      -Xmixed and -Xint modes will work fine for both compilers.

      vincent.lee@eng 2000-06-15

            rasbold Chuck Rasbold
            veelee Vincent Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: