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

Performance of Server Compiler of JDK1.3.1(_01) looks too slow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.1_04
    • 1.3.1_01
    • hotspot
    • 04
    • generic
    • generic

        A licensee reported the performance with "server" option on solaris
        and windows and they said that the perf. looks too slow comparing
        to that with other options.
         
        Licensee Reported Data)

        JDK: 1.3.1
                   | Options
          Platform |-----------+-------+---------+--------------------------------
                   | No Option | -Xint | -server | -server & -XXUseRecompilation
         ----------+-----------+-------+---------+--------------------------------
         winNT4.0 | 70ms | 481ms | 13069ms | 431ms
         ----------+-----------+-------+---------+--------------------------------
         Solaris 8 | 133ms | 930ms | N/A | 1057ms
         -------------------------------------------------------------------------
         N/A : the following message showed up
           Exception in thread "main" java.lang.StackOverflowError
                 <<no stack trace available>>

                                                        
        They did not mentions the configrations.
        Then I tried the attached sample program with my PC and Workstation.

        My trial's Data)
                   | Options
          Platform |-----------+-------+---------+--------------------------------
                   | No Option | -Xint | -server | -server & -XXUseRecompilation
         ----------+-----------+-------+---------+--------------------------------
         win2000 | 20ms | 140ms | 4887ms | 131ms
         ----------+-----------+-------+---------+--------------------------------
         Solaris 7 | 474ms | 5224ms| N/A | 4653ms
         -------------------------------------------------------------------------
         Configration)
           PC: PentiumIV 1.4[GHz]
                Mem 384[MB]
                JDK: 1.3.1_01
                windows2000(SP2, Japanese)
           WS: SunOS goedel 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-60
                Mem: 256[MB]
                JDK1.3.1
                
           I built each binary from source code archive in order to use the
           -XX option.


        << Reproduce >>

          Please try as follows both with Solaris and Windoows.

          1) Build hotspot from source code archive because -XX option will needed
             later
          2) Compile the attached sample code(RecompileTest.java)
          3) Please invoke the sample
             - java RecompileTest
             - java -Xint RecompileTest
             - java -server RecompileTest
             - java -server -XX:-UseRecompilation RecompileTest

             Then you can see the attached rsult file(solaris-result.txt,
             windows-result.txt)
         
        2001-12-07
        ===============================================================================

              poonam Poonam Bajaj Parhar
              tbaba Tadayuki Baba (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: