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

TEST_BUG: closed/vm/gc/ArraySize.java fails 64-bit jvm with Parallel GCs

XMLWordPrintable

    • gc
    • generic
    • generic

      closed/vm/gc/ArraySize.java fails with "Didn't throw expected OutOfMemoryError" error
      in case ParallelGC or ParallelOldGC is used.

      The problem is becase default heap size for Parallel GCs is calculated based on amount of available RAM, so in case of 16Gb the max heap size is set to 4Gb.
      This is enougth for this test and as result no OOM is thrown.

      The test fails at least starting from hs11-b06 (didn't try with < b06 builds).
      The test passes with hs10.

      So, it seems default heap size policy for ParallelGCs was changed in some HS11 builds.

            tamao Tao Mao
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: