Currently when UseAdaptiveSizePolicy is off for UseParallelGC the generations do not
change from their initial sizes. This change makes UseParallelGC generations grow and
shrink using MinHeapFreeRation/MaxHeapFreeRatio in a way similar to the other
collectors. Additionally, based on a new flag on a System.gc() the
MinHeapFreeRation/MaxHeapFreeRatio sizing is used when UseAdaptiveSizePolicy is
on.
change from their initial sizes. This change makes UseParallelGC generations grow and
shrink using MinHeapFreeRation/MaxHeapFreeRatio in a way similar to the other
collectors. Additionally, based on a new flag on a System.gc() the
MinHeapFreeRation/MaxHeapFreeRatio sizing is used when UseAdaptiveSizePolicy is
on.
- relates to
-
JDK-8037924 CMM Testing: Check Min/MaxHeapFreeRatio flags allows to shrink the heap when using ParallelGC
-
- Resolved
-