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

-XX:+UseParallelGC give Exception : java.lang.OutOfMemoryError

XMLWordPrintable

    • gc
    • mantis
    • sparc
    • solaris_8
    • Verified

      --------------------------------------
      Test : $TESTBASE/regression/classes/java/lang/ref/SoftReference Bash
      TestBase : runThese
      VM : ServerVM
      Mode : int mixed
      Platform : solsparc solx86 linux
      Build : Hopper-Beta-b14
      ----------------------------------------


      When we use -XX:+UseParallelGC flag with server VM, server VM give "Exception in thread "main" java.lang.OutOfMemoryError". It failed in both mixed/int mode.

      The same test PASS with client VM.

                 Server Client
      int FAIL PASS
      mixed FAIL PASS


      Command line to reproduce the failure:
      =======================================
      /net/alpheridies/export/VM/hopper/weekly/JDK/b14/solsparc/bin/java -server -Xmixed -XX:+UseParallelGC -classpath /net/sqesvr/export/vsn/VM/testbase/runThese/tests/regression/classes/java/lang/ref/SoftReference Bash


      ###@###.### 2002-06-13
      ===============================
      2 other tests also fail with OME only with server VM.
      This could be the same bug.

      Here is how to reproduce the bug.
      1. create runList.dat with following 3 line of tests.

      $TESTBASE/regression/classes/java/lang/ref/SoftReference Bash
      $TESTBASE/regression/classes/java/lang/ref/SoftReference Pin
      $TESTBASE/regression/classes/java/net/MulticastSocket MulticastTTL

      2. run following command line.
      $ java -server -Xint -Xconcgc -classpath /net/sqesvr/export/vsn/VM/testbase/runThese/classes runThese -thread 1 -repeat 1 -iter 1 -D:gc=5 -D:TESTBASE=/net/sqesvr/export/vsn/VM/testbase/runThese/tests -runList runList.dat

            jmcilreesunw James Mcilree (Inactive)
            fhsusunw Francis Hsu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: