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

Reduce region fragmentation by separating region allocations by type

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P4
    • 9
    • hs25, 8
    • hotspot
    • gc

    Description

      Enterprise applications that frequently allocate large objects partially suffer from region fragmentation: i.e. the LOB cannot be allocated directly without GC because there are not enough contiguous regions available.

      One idea to mitigate this issue is to allocate "old gen" type regions (old, LOB) at one end of the logical heap, while allocating "young gen" type regions at the other end (preferably at the high end, as G1 can only resize from the top at the moment).

      Tests with a prototype on a range of applications has shown that this decreases region fragmentation considerably.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: