Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8048180 G1: Eager reclaim of humongous objects with references
  3. JDK-8369988

Release Note: Eager Reclaim of Humongous Objects with References for G1

XMLWordPrintable

    • gc

      The G1 garbage collector now eagerly reclaims eligible humongous (very large objects that occupy more than half a heap region) objects containing references. Instead of requiring liveness analysis (concurrent marking) of the entire Java heap, G1 can collect these objects at any garbage collection pause if they are not referenced any more.

      This mechanism applies both to humongous arrays of references (e.g. `Object[]`) and regular humongous objects.

      This change allows for more prompt recovery of memory previously held by such objects, particularly if they are short-lived. This improves garbage collection efficiency and reduces heap usage.

            tschatzl Thomas Schatzl
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: