Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8251263

G1: Only commit actually used space for humongous objects

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 16
    • hotspot
    • gc

      One problem with humongous objects is internal fragmentation, i.e. the waste of space at the end of the object.

      One option is allowing allocation into this area, another simply not committing the whole tail region, and not accounting that uncommitted space in the region budget.

      Together with JDK-8229373 this could significantly improve internal fragmentation and relieve memory pressure with (many) humongous objects.

      This is somewhat similar to ZGC large object handling within the regionalized heap.

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

              Created:
              Updated: