Details
-
Sub-task
-
Resolution: Delivered
-
P4
-
21
Description
A full garbage collection (GC) in the Garbage First (G1) collector now moves humongous objects to avoid Out-Of-Memory situations due to a lack of contiguous space in the Java heap when the application allocates humongous objects.
Previously, G1 failed to allocate those humongous objects, reporting an Out-Of-Memory exception in this situation.
This functionality is a last resort measure, causing a second full GC in the same pause after the previous full GC fails to clear out enough contiguous memory for the allocation.
Previously, G1 failed to allocate those humongous objects, reporting an Out-Of-Memory exception in this situation.
This functionality is a last resort measure, causing a second full GC in the same pause after the previous full GC fails to clear out enough contiguous memory for the allocation.