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

nsk b4259923 test fails to get valid values for locals of type long (64bit)

XMLWordPrintable

    • sparc
    • solaris_8



      Name: abR10010 Date: 10/01/2001


      Test : nsk/regression/b4259923
      TestBase : testbase_nsk

      The nsk/regression/b4259923 test fails to get valid values for locals
      of type long and double under the HotSpot 64-Bit Server VM (build
      1.4.0-beta3-b81).

      The test exercises the JVMDI functions:
      GetLocalLong(), GetLocalFloat(), GetLocalDouble()
      and reveals that GetLocalLong() and GetLocalDouble()
      functions return unexpected values (see test log below).

      This failure happens starting with the build 1.4.0-beta3-b81.

      The build 1.4.0-beta3-b80 passes b4259923 test as well as
      the build 1.4.0-beta3-b81, 32-bit Server VM.


      To reproduce the bug run in GammaBase/Bugs/<this bug number> directory:

          sh doit.sh <JAVA_HOME> -d64
          
      See test logs:

      For 1.4.0-beta3-b81, 64-bit Server VM:

      % doit.sh .../java/dest/jdk1.4.0beta-b81/solsparc -d64
      java version "1.4.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b81)
      Java HotSpot(TM) 64-Bit Server VM (build 1.4.0-beta3-b81, interpreted mode)
      One of the values retrieved by GetLocal is wrong:
          actual: long = 0x0000001600000000, float = 6,000000, double = 0,000000
        expected: long = 0x0000000000000016, float = 6,000000, double = 7,000000
      Exit Code: 97


      For 1.4.0-beta3-b80, 64-bit Server VM:

      % doit.sh .../java/dest/jdk1.4.0beta-b80/solsparc -d64
      java version "1.4.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b80)
      Java HotSpot(TM) 64-Bit Server VM (build 1.4.0-beta3-b80, interpreted mode)
      Exit Code: 95
        

      For 1.4.0-beta3-b81, 32-bit Server VM:

      % doit.sh .../java/dest/jdk1.4.0beta-b81/solsparc -server
      java version "1.4.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b81)
      Java HotSpot(TM) Server VM (build 1.4.0-beta3-b81, interpreted mode)
      Exit Code: 95


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

            rfield Robert Field (Inactive)
            bondsunw Bond Bond (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: