Remove G1CollectionSet::_inc_bytes_used_before

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 21
    • Component/s: hotspot
    • gc
    • b07

      The G1CollectionSet::_inc_bytes_used_before variable is used to track allocations during mutator time, and at start of collection assigned to G1CollectionSet::_bytes_used_before, which then continues to track used bytes in the collection set, and that total result used for statistics.

      There is no need to have the extra G1CollectionSet::_inc_bytes_used_before; there is no difference to just tracking incremental collection set used bytes directly in G1CollectionSet::_bytes_used_before, so remove it.

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

              Created:
              Updated:
              Resolved: