Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8191565 Last-ditch Full GC should also move humongous objects
  3. JDK-8309350

Release Note: Last Resort G1 Full GC Moves Humongous Objects

    XMLWordPrintable

Details

    • gc

    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.

      Attachments

        Activity

          People

            iwalulya Ivan Walulya
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: