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

G1: Avoid running periodic GC when there is no possiblity to shrink heap

XMLWordPrintable

    • gc

      Periodic GC was introduced by JDK-8212657 to promptly return unused memory to system.

      But under following circumstances, GC is not able to uncommit any memory, so periodic GC can be avoided.

      - Committed heap size already shrunk to MinHeapSize set by command line.
      - Heap free ratio is under MaxHeapFreeRatio.

            Unassigned Unassigned
            zgu Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: