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

Adaptive G1HeapWastePercent, G1MixedGCLiveThresholdPercent, G1OldCSetRegionThresholdPercent, and G1MixedGCLiveThresholdPercent and G1MixedGCCountTarget

XMLWordPrintable

    • gc

      Currently the flags

        G1HeapWastePercent
        G1MixedGCLiveThresholdPercent
        G1OldCSetRegionThresholdPercent
        G1MixedGCLiveThresholdPercent and
        G1MixedGCCountTarget

      determine the length of the mixed gc phase and the candidate selection.

      Try to make them more adaptive in the sense of
        - if we can't reclaim more than we promote for some time, either adjust settings (increase pause time goal, increase minimum number of old regions to get) or give up
        - if we are close to going out of heap, increase the candidate set, and relax the requirements
        - if there is enough time (e.g. gc overhead), clean out more (or slower)

      Of course, the inverse of these conditions (if applicable) is true as well

            Unassigned Unassigned
            tschatzl Thomas Schatzl
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: