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

Implement UseGCOverheadLimit for G1

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • gc

      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.

            Unassigned Unassigned
            manc Man Cao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: