-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
hopper
-
sparc
-
solaris_8
###@###.### 2001-11-13
J2SE Version (please include all output from java -version flag):
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
Does this problem occur on J2SE 1.3? Yes / No (pick one)
No
Operating System Configuration Information (be specific):
Sun Ultra Enterprise running Solaris 8.0
Hardware Configuration Information (be specific):
4 CPU's @ 400MHz each and 3072MB of RAM
Bug Description:
Attached simple Java application(PerfTest.zip) shows a significant
degradation of performance from JDK 1.3 to JDK 1.4. Under 1.4, on big
system(4-way machine), it takes 2-4 milliseconds to create; under 1.3,
the times are 0-1 ms. On a small system(1-way machine), the difference
is even more obvious. Under 1.4, it takes 6-8 milliseconds to create;
Under 1.3, the times are 1-3 milliseconds.
Here are the test results:
1.3 results:
1> one-way Solaris 7 Ultra 1 machine
**** AMOL1 creation took 72 milliseconds
**** AMOL1 creation took 3 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 3 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 3 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 3 milliseconds
2> 4x450 mhz with 4GB RAM Solaris 8 machine
**** AMOL1 creation took 25 milliseconds
**** AMOL1 creation took 1 milliseconds
**** AMOL1 creation took 0 milliseconds
**** AMOL1 creation took 1 milliseconds
**** AMOL1 creation took 1 milliseconds
**** AMOL1 creation took 1 milliseconds
**** AMOL1 creation took 0 milliseconds
**** AMOL1 creation took 1 milliseconds
**** AMOL1 creation took 1 milliseconds
**** AMOL1 creation took 1 milliseconds
**** AMOL1 creation took 1 milliseconds
**** AMOL1 creation took 1 milliseconds
**** AMOL1 creation took 1 milliseconds
**** AMOL1 creation took 0 milliseconds
**** AMOL1 creation took 1 milliseconds
**** AMOL1 creation took 1 milliseconds
**** AMOL1 creation took 1 milliseconds
**** AMOL1 creation took 1 milliseconds
**** AMOL1 creation took 1 milliseconds
**** AMOL1 creation took 1 milliseconds
1.4 beta3 results:
1> one-way Solaris 7 Ultra 1 machine
**** AMOL1 creation took 78 milliseconds
**** AMOL1 creation took 7 milliseconds
**** AMOL1 creation took 7 milliseconds
**** AMOL1 creation took 17 milliseconds
**** AMOL1 creation took 7 milliseconds
**** AMOL1 creation took 7 milliseconds
**** AMOL1 creation took 7 milliseconds
**** AMOL1 creation took 7 milliseconds
**** AMOL1 creation took 7 milliseconds
**** AMOL1 creation took 7 milliseconds
**** AMOL1 creation took 125 milliseconds
**** AMOL1 creation took 7 milliseconds
**** AMOL1 creation took 47 milliseconds
**** AMOL1 creation took 7 milliseconds
**** AMOL1 creation took 7 milliseconds
**** AMOL1 creation took 7 milliseconds
**** AMOL1 creation took 7 milliseconds
**** AMOL1 creation took 7 milliseconds
**** AMOL1 creation took 7 milliseconds
**** AMOL1 creation took 6 milliseconds
2> 4x450 mhz with 4GB RAM Solaris 8 machine
**** AMOL1 creation took 29 milliseconds
**** AMOL1 creation took 3 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 3 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 3 milliseconds
**** AMOL1 creation took 3 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 3 milliseconds
**** AMOL1 creation took 3 milliseconds
**** AMOL1 creation took 3 milliseconds
**** AMOL1 creation took 4 milliseconds
**** AMOL1 creation took 3 milliseconds
**** AMOL1 creation took 2 milliseconds
**** AMOL1 creation took 3 milliseconds
**** AMOL1 creation took 3 milliseconds
**** AMOL1 creation took 3 milliseconds
**** AMOL1 creation took 3 milliseconds
**** AMOL1 creation took 2 milliseconds
Steps to Reproduce (be specific):
The attached zip(PerfTest.zip) file includes sources, jar,
build.xml (for ant build) and a 'testTime' script. This test simply loops x
times (100 is default), creating AMOL1Code objects and printing out how long
it takes to create them.
- relates to
-
JDK-4322313 API:Clarification on custom tz ID in TimeZone and tz formats in SimpleDateFormat
- Resolved