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

TestShrinkDefragmentedHeap.java could use less memory

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc

      Description

      When fixing JDK-8129590, -Xmx256m was added to avoid running out of memory. The reason for running out of memory was that the server only had 512mb ram and the max heap size was ergonomically set to the same as the initial heap size. The test need somewhat more memory than the initial heap size and therefor runs OOM.

      The test specifies an initial heap size and a new generation size already and seems to have good notion of how much memory is really used. To allow the test to run on smaller servers it would be nice if the test could use less memory but still test what it should.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sjohanss Stefan Johansson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: