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

G1: Refactor G1ConcurrentMark::update_top_at_rebuild_start

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • 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.
        }

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

              Created:
              Updated:
              Resolved: