G1: Refactor G1ConcurrentMark::update_top_at_rebuild_start

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: 24
    • Component/s: hotspot
    • gc
    • b03

      The following if-condition is always true accroding to sole caller, so change it to assert `is_old || is_humongous`.

        if (tracker->needs_scan_for_rebuild(r)) {
          _top_at_rebuild_starts[region] = r->top();
        } else {
          // Leave TARS at null.
        }

            Assignee:
            Albert Yang
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: