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

Implement UseGCOverheadLimit for G1

    Details

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

      Description

      As G1 does not instantiate the AdaptiveSizePolicy class, these JVM flags are no-ops for G1:
      UseGCOverheadLimit
      GCTimeLimit
      GCHeapFreeLimit

      UseGCOverheadLimit and tuning these flags is an effective way to prevent GC thrashing by throwing OOME early. Production users using other garbage collectors have already relied on UseGCOverheadLimit. It is desirable to make UseGCOverheadLimit also work in G1.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                manc Man Cao
                Reporter:
                manc Man Cao
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: