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

Remove G1ParGCAllocator::alloc_buffer_waste

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • 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().

              mchernov Michail Chernov
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: