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

Investigate memory uncommit during young collections in G1

    XMLWordPrintable

Details

    • gc

    Description

      Currently G1 uncommits memory in the Remark pause only. It may be better to uncommit at other places (see JDK-8238686) when heap usage is actually low.

      Similar to expansion, G1 could regularly check whether the GCTimeRatio is low enough (e.g. < 1/2 GCTimeRatio) to warrant heap shrinking.

      Note that the amount of uncommit should be so that heap resizing activity during further operation is minimal.

      Attachments

        Issue Links

          Activity

            People

              tschatzl Thomas Schatzl
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: