G1: Remove redundant check in G1FlushHumongousCandidateRemSets

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 20
    • Component/s: hotspot
    • gc
    • b13

      In `G1FlushHumongousCandidateRemSets`:

      ```
            if (!r->is_starts_humongous() ||
                !g1h->region_attr(r->hrm_index()).is_humongous() ||
                r->rem_set()->is_empty()) {
      ```

      `!r->is_starts_humongous()` entails `!g1h->region_attr(r->hrm_index()).is_humongous()` already. The former can be dropped without affecting the filtering.

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

              Created:
              Updated:
              Resolved: