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

G1: Remove redundant check in G1FlushHumongousCandidateRemSets

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • 20
    • hotspot
    • gc
    • b13

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: