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.
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.
- duplicates
-
JDK-8194821 G1 does not implement GCOverheadLimit functionality
-
- Closed
-
- is blocked by
-
JDK-8212206 Refactor AdaptiveSizePolicy to separate out code related to GC overhead
-
- Resolved
-
- relates to
-
JDK-8308983 Let UseGCOverheadLimit work independently of UseAdaptiveSizePolicy in parallel GC
-
- Open
-