-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2_10, 7
-
b138
-
x86
-
linux_ubuntu, windows_xp
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2213885 | 6u30 | Sean Coffey | P3 | Closed | Fixed | b08 |
JDK-2213859 | 6u29-rev | Sean Coffey | P3 | Resolved | Fixed | b20 |
JDK-2211252 | 6u27-rev | Sean Coffey | P3 | Resolved | Fixed | b22 |
JDK-2211963 | 5.0u33 | Sean Coffey | P3 | Closed | Fixed | b08 |
This is a snippet from the correspondence with SAP, who run into severe performance issues with JDK 1.4.2_10. No improvement has been observed with the recent release of JDK 1.4.2_18.
------------------------------------------------------------------------------------------------------
In our BI application we have massive performance problems
because of java.util.zip.Deflater and Inflater. A lot of customer
cases and also several escalations resulted from this.
The problem is similar to that described in SUN bugid 6364346
and can be simply reproduced with the attached test program.
Just call: java -Xms1024M -Xmx1024M Bench test.htm
With 1.4.2_09 the performance is excellent, with later patch releases
it's horrible.
Following you see the results on my desktop PC:
C:\tmp\java\Deflater>\java\jdk1.4.2_09\bin\java -server -showversion
-Xms1024M -
Xmx1024M Bench test.htm
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)
Java HotSpot(TM) Server VM (build 1.4.2_09-b05, mixed mode)
Original length: 46932100 bytes
Deflated length: 2026929 bytes
Inflated length: 46932100 bytes
Duration of Deflate (in ms): 1390
Duration of Inflate (in ms): 3063
C:\tmp\java\Deflater>java -server -showversion -Xms1024M -Xmx1024M Bench
test.ht
m
java version "1.4.2_18"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_18-b06)
Java HotSpot(TM) Server VM (build 1.4.2_18-b06, mixed mode)
Original length: 46932100 bytes
Deflated length: 2026929 bytes
Inflated length: 46932100 bytes
Duration of Deflate (in ms): 2602891
Duration of Inflate (in ms): 2421922
C:\tmp\java\Deflater>\java\jdk1.4.2_10\bin\java -server -showversion
-Xms1024M -
Xmx1024M Bench test.htm
java version "1.4.2_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
Java HotSpot(TM) Server VM (build 1.4.2_10-b03, mixed mode)
Original length: 46932100 bytes
Deflated length: 2026929 bytes
Inflated length: 46932100 bytes
Duration of Deflate (in ms): 8056797
Duration of Inflate (in ms): 7869140
------------------------------------------------------------------------------------------------------
I've included a test case provided by SAP to this report. Please handle this case with high
priority because as mentioned above it has big impact at customer side.
- backported by
-
JDK-2211252 ZIP inflater/deflater performance
- Resolved
-
JDK-2213859 ZIP inflater/deflater performance
- Resolved
-
JDK-2211963 ZIP inflater/deflater performance
- Closed
-
JDK-2213885 ZIP inflater/deflater performance
- Closed
- duplicates
-
JDK-7002855 reading a .class resource from jar input stream does not work with jdk7 b116
- Closed
-
JDK-2200399 Perf. of gzip in existing JDKs is too slower than in 1.3.1
- Closed
- relates to
-
JDK-6206933 GZipOutputStream/InputStream goes critical(calls JNI_Get*Critical) and causes slowness
- Resolved
-
JDK-7095609 TESTBUG: java/util/zip/TestDeflater.sh failure in 6u27-rev-b22
- Closed
-
JDK-6399199 Improve performance of Deflater
- Open