-
Type:
Enhancement
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 17, 20
-
Component/s: hotspot
Periodic GC was introduced by JDK-8212657 to promptly return unused memory to system.
But under following circumstances, GC is not able to uncommit any memory, so periodic GC can be avoided.
- Committed heap size already shrunk to MinHeapSize set by command line.
- Heap free ratio is under MaxHeapFreeRatio.
But under following circumstances, GC is not able to uncommit any memory, so periodic GC can be avoided.
- Committed heap size already shrunk to MinHeapSize set by command line.
- Heap free ratio is under MaxHeapFreeRatio.