G1: Improve accuracy of G1CollectedHeap::non_young_occupancy_after_allocation()

XMLWordPrintable

    • gc

      Currently G1CollectedHeap::non_young_occupancy_after_allocation() bases non-young occupancy on regions. All old gen regions are always completely full. This disregards the free space at the end of the old retained region where we can still allocate into.

      By taking this free space into account, we can delay concurrent mark a little.

            Assignee:
            Thomas Schatzl
            Reporter:
            Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: