G1: deal with fragmentation while copying objects during GC

XMLWordPrintable

    • gc
    • b36
    • generic
    • generic

        Currently, when an allocation request fails on a region we retire that region and grab a new one. This works fine most of the time when allocation requests are small. However, if the GC comes across some large-ish objects every now and then, that does not fit in the remainder of the current GC alloc region, we'll retire that region, maybe wasting a fair amount of space in it. It'd be good if we minimized how much space we waste because of this fragmentation.

              Assignee:
              Tao Mao
              Reporter:
              Tony Printezis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: