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

TEST_BUG: closed/compiler/6321689/Test.java fails with OOM with 64-bit jvm with non-Parallel GCs

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        closed/compiler/6321689/Test.java fails with
        "java.lang.OutOfMemoryError: Java heap space" with 64-bit jvm in case non-Parallel GCs are used.

        The problem is that the test requires about 100M to run.
        However, the default heap size in case of non-parallel GC is set to 84Mb
        (you can attach jmap to see it).
        The default heap size for Parallel GCs is calculated based on amount of available RAM,
        so in case of 2Gb the max heap size is set to 512 Mb.
        This is why the test doesn't fail with Parallel GCs.

        The test needs to be adjusted to run with all collectors or default max heap size
        for server-class machines need to be rethinking for non-parallel GCs.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rasbold Chuck Rasbold
                  Reporter:
                  epavlova Ekaterina Pavlova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: