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

PepTest fails with libsunwjit_opt

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.1.5
    • Component/s: vm-legacy
    • Subcomponent:
      jit
    • Resolved In Build:
      1.1.5
    • CPU:
      generic
    • OS:
      solaris_2.6
    • Verification:
      Not verified

      Description

      Test PepTest, located in our benchmark test suite
      (/set/sqe/javatb/testbase/src/misc/benchmarks/PepTest), consistently
      hangs once gets to method testExc9() using the BCO build below (didn't try with any later versions of BCO):
      tomboy% ls -l /usr/java/lib/libsunwjit_opt*
      -rwxr-xr-x 1 root other 523120 Feb 19 14:01 /usr/java/lib/libsunwjit_opt.so*

      The test works fine unjitted and with the non-optimized library. It fails on both JDK1.1.4 and JDK1.1.5 and on Solaris 2.6. It also fails on intel/JDK1.1.4.
      -------------------

      java -verify -Djava.compiler=sunwjit_opt PepTest
      0.30925423
      0.9660021
      0.19516456
      Hello, coffee world!
      Time now is Mon Mar 09 09:28:05 PST 1998, ms: 889464489029
      Properties:
        java.version = 1.1.5
        java.vendor = Sun Microsystems Inc.
        java.vendor.url = http://www.sun.com/
        java.home = /usr/java1.1
        java.class.version = 45.3
        java.class.path =
      .:/net/mulder.eng/export/mulder3/JCK-114a/classes:/usr/java1.1/classes:/usr/java1.1/lib/classes.zip
        os.name = Solaris
        os.version = 2.x
        os.arch = sparc
        file.separator = /
        path.separator = :
        line.separator =

        user.name = anat
        user.home = /home/anat
        user.dir = /home/anat/tmp/PepTest
      testIf: OK
      testArray: OK
      testBitOps: OK
      testFor: OK
      testDiv: OK
      testTableSwitch: OK
      testLookupSwitch: OK
      testHiddenField: OK
      checkRemainders: long double OK
      checkMathFcts: OK
      Primes less than 50: 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47
      Time for 100,000 iterations of while loop: int: 18 ms, long: 5 ms
      testExc1(simple throw/catch): OK
      testExc2(skip catch clauses): OK
      testExc3(catch in inner): OK
      testExc4(catch in outer): OK
      testExc5(rethrow): OK
      testExc6(throw accross call): OK
      testExc7(throw accr. 2 calls): OK
      testExc8(keep throwing; see if GC works): OK
      testExc9(keep throwing accross fct; see if GC works): ^Ctomboy%
      tomboy%

      -----------------------------------------

      tomboy% java -verify -Djava.compiler=sunwjit PepTest
      0.5681233
      0.78788036
      0.69534993
      Hello, coffee world!
      Time now is Mon Mar 09 09:24:19 PST 1998, ms: 889464260741
      Properties:
        java.version = 1.1.5
        java.vendor = Sun Microsystems Inc.
        java.vendor.url = http://www.sun.com/
        java.home = /usr/java1.1
        java.class.version = 45.3
        java.class.path =
      .:/net/mulder.eng/export/mulder3/JCK-114a/classes:/usr/java1.1/classes:/usr/java1.1/lib/classes.zip
        os.name = Solaris
        os.version = 2.x
        os.arch = sparc
        file.separator = /
        path.separator = :
        line.separator =

        user.name = anat
        user.home = /home/anat
        user.dir = /home/anat/tmp/PepTest
      testIf: OK
      testArray: OK
      testBitOps: OK
      testFor: OK
      testDiv: OK
      testTableSwitch: OK
      testLookupSwitch: OK
      testHiddenField: OK
      checkRemainders: long double OK
      checkMathFcts: OK
      Primes less than 50: 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47
      Time for 100,000 iterations of while loop: int: 4 ms, long: 6 ms
      testExc1(simple throw/catch): OK
      testExc2(skip catch clauses): OK
      testExc3(catch in inner): OK
      testExc4(catch in outer): OK
      testExc5(rethrow): OK
      testExc6(throw accross call): OK
      testExc7(throw accr. 2 calls): OK
      testExc8(keep throwing; see if GC works): OK
      testExc9(keep throwing accross fct; see if GC works): OK
      loopExitContinueInExceptionHandler: OK
      testStringHash: OK
      testObjectHash: OK
      testClone: OK
      testObjectArray: OK
      [LPepTest;: no interfaces
      java.util.Hashtable: java.lang.Cloneable java.io.Serializable
      java.util.Dictionary: no interfaces
      java.lang.Object: no interfaces
      checkInstanceOf: OK
      checkInterfaceInstanceOf: OK
      testWaitNull: OK
      testVarAndMethodNameClash: OK
      testDeepStack: OK
      testMisk: OK
      testGC: OK
      testFileOps: OK
      Timing exception handling: 0 ms
      Timing IO. write(1 byte): 376 ms, read(1 byte): 917 ms
      Timing java.util.Date::toString: 822 ms
      ****** PepTest completed successfully ******

      anat.kremer@Eng 1998-03-09

        Attachments

          Activity

            People

            Assignee:
            dspottsunw David Spott (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: