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

G1: Only commit actually used space for humongous objects

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 16
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Subcomponent:
      gc

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: