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

javac performance regression

XMLWordPrintable

    • 5.0
    • 5.0
    • b29
    • generic, sparc
    • generic, solaris_8

      javac performance has severly regressed since 1.4.2.

      We noticed this first because deployment of applications within the application server regressed when the application server moved to using 1.5. J2EE applications include JSP files that are precompiled and generated EJB classes that are compiled. We see up to a 10% regression in deployment time on the appserver. [Deployment time includes many other operations than compiling -- actual compilation time is worse, as I explain next.]

      Actual compilation performance seems to be about 45% worse. I gathered up a the SPECjAppServer 2002 benchmark (about 300 java class files) and compiled it with 1.4.2_06 and 1.5. I tried a variety of 1.5 options (-source 1.2/1.4/1.5; -target 1.2/1.4/1.5 etc.). Tests were run on single CPU and multiple CPU machines running Solaris/Sparc, Solaris x86, Windows 2003 and Linux. In general, it took 45% longer to compile these classes with 1.5 than 1.4.
      ###@###.### 10/29/04 17:21 GMT

            ahe Peter Ahe
            soaks Scott Oaks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: