Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7003718

TEST_BUG: java/beans/Archiver/4646747/EncoderStressTest.java

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kshefov Konstantin Shefov
                  Reporter:
                  ikobzaresunw Ivan Kobzarev (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: