Remove G1ParGCAllocator::alloc_buffer_waste

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • gc
    • b66

        G1ParGCAllocator::alloc_buffer_waste tracks the waste at the end of a PLAB caused by throwing away that TLAB.

        Remove it as this information is duplicated by PLABStats::waste(), with the additional problem that alloc_buffer waste does not include all waste. It misses the waste at the end of a PLAB that is reserved to put a filler object into to guarantee parsability of the heap.

        The value can be replaced by the sum of survivor/old PLABStats::waste().

              Assignee:
              Michail Chernov
              Reporter:
              Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: