-
Bug
-
Resolution: Fixed
-
P3
-
6u24
-
b01
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2222108 | 6 | Valerii Potokov | P3 | Closed | Not an Issue |
Testsuite name: j2se regression 6u24b01_j4b
test: java/beans/Archiver/4646747/EncoderStressTest.java
JDK/JRE tested: 6u24b01_j4b
OS/architecture: linux-i586
Reproducible: Always
Reproducible on machine: stt-14.russia.sun.com
Is it a platform specific regression: N
Is it a Regression: N
Steps to reproduce:
/export/jdk/jdk1.6.0_24/bin/javac EncoderStressTest.java
[stt-robot@stt-14]$ /export/jdk/jdk1.6.0_24/bin/java -ms16m -mx16m EncoderStressTest
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at EncoderStressTest.doTest(EncoderStressTest.java:33)
Test had a header:
/**
* @test %I% %G%
* @bug 4646747
* @author Mark Davidson
* @run main/othervm -ms16m -mx16m` EncoderStressTest
* @summary Wrong persistence delegate returned after memory stress.
*/
Test failed with OutOfMemory Exception.
It also failed with 40m heap, but passed with 41m
[stt-robot@stt-14]$ /export/jdk/jdk1.6.0_24/bin/java -ms40m -mx40m EncoderStressTest
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at EncoderStressTest.doTest(EncoderStressTest.java:33)
at EncoderStressTest.main(EncoderStressTest.java:17)
[stt-robot@stt-14]$ /export/jdk/jdk1.6.0_24/bin/java -ms41m -mx41m EncoderStressTest
Test Passed
So, I think we should change parameters of java test running to -ms64m -mx64m.
diff:
11c11
< * @run main/othervm -ms16m -mx16m` EncoderStressTest
---
> * @run main/othervm -ms64m -mx64m` EncoderStressTest
test: java/beans/Archiver/4646747/EncoderStressTest.java
JDK/JRE tested: 6u24b01_j4b
OS/architecture: linux-i586
Reproducible: Always
Reproducible on machine: stt-14.russia.sun.com
Is it a platform specific regression: N
Is it a Regression: N
Steps to reproduce:
/export/jdk/jdk1.6.0_24/bin/javac EncoderStressTest.java
[stt-robot@stt-14]$ /export/jdk/jdk1.6.0_24/bin/java -ms16m -mx16m EncoderStressTest
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at EncoderStressTest.doTest(EncoderStressTest.java:33)
Test had a header:
/**
* @test %I% %G%
* @bug 4646747
* @author Mark Davidson
* @run main/othervm -ms16m -mx16m` EncoderStressTest
* @summary Wrong persistence delegate returned after memory stress.
*/
Test failed with OutOfMemory Exception.
It also failed with 40m heap, but passed with 41m
[stt-robot@stt-14]$ /export/jdk/jdk1.6.0_24/bin/java -ms40m -mx40m EncoderStressTest
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at EncoderStressTest.doTest(EncoderStressTest.java:33)
at EncoderStressTest.main(EncoderStressTest.java:17)
[stt-robot@stt-14]$ /export/jdk/jdk1.6.0_24/bin/java -ms41m -mx41m EncoderStressTest
Test Passed
So, I think we should change parameters of java test running to -ms64m -mx64m.
diff:
11c11
< * @run main/othervm -ms16m -mx16m` EncoderStressTest
---
> * @run main/othervm -ms64m -mx64m` EncoderStressTest
- backported by
-
JDK-2222108 TEST_BUG: java/beans/Archiver/4646747/EncoderStressTest.java
-
- Closed
-