JDK-7095609 : TESTBUG: java/util/zip/TestDeflater.sh failure in 6u27-rev-b22
Type:Bug
Component:core-libs
Sub-Component:java.util.jar
Affected Version:6u27-rev
Priority:P3
Status:Closed
Resolution:Fixed
OS:solaris_1
CPU:sparc
Submitted:2011-09-27
Updated:2014-04-29
Resolved:2011-11-02
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
EVALUATION
Changes to how the zip deflate fucntionality uses primitive byte array allocations has changed behaviour for this testcase.
I'm failing to mimic environment conditions where the testcase will now throw a java.lang.OutOfMemoryError during the zip deflate operation. With the new performance fix from 6751338, much less process data memory is (ulimit -d) is required. Somewhere around 1400 to 1500 kBytes (as opposed to the old 100000kbytes setting) sees deflate function pass most of the time. Limiting the process space too much will only see the jvm itself complain about memory.
Will add the @ignore keyword to testcase along with a reference to this bug ID.
05-10-2011
EVALUATION
The TestDeflater.sh testcase tried to produce a OOM exception while deflating a large byte buffer with limited memory process size. That exception no longer appears to be as easily induced with the 6751338 fix.
This is a testcase issue and we may look to exclude it.