This is a continuation of bug # 4653558/4690509
addressing Swing issues found by Fred Oliver
See comments for further info, see attachments to
bug# 4653558 fro test case.
Sybase Java Application startup time is SLOW in JDK 1.4 compared to JDK 1.3.1_02
Customer Problem Description:
----------------------------
----
We have noticed here that jdk 1.4 starts our applications slower than
Jdk 1.3.1 did. In fact we have found it to be about 50% worse. I
thought I had heard that startup time was improved with JRE 1.4.
I have attached a log file that shows my results for one application. I
compared different java compilers, jar indexing, and the 1.3.1_02 and 1.4
VMs.
Are these the results I should be expecting when comparing 1.3.1_02 with
1.4?
I have attached a sample application which shows this behavior
Unzip it into a directory. PerfTest2 is the batch file
that runs everything. You will have to change:
set jdk=1.3.1_02 to match your machine.
PerfRun.bat assumes that your jre's are installed with the naming pattern
c:\jdk followed by the setting for jdk in PerfTest2.bat.
Note: I run the test once and throw the results away. Then I run it again
- that way everything should be in memory.
In our case jdk_1.3.1_02_13.log is the same as jdk_1.3.1_02_13c.log
as we only run with Sun's javac compiler.
(See attached file: perfTest2.log)
Note: We haven't tested this application on Sparc platforms. But, if the
performance problem does show up on Sparc, please fix it as we have
customers using our application on Sun's UltraSparc servers.
-----