G1: remove unused variable in G1Policy::transfer_survivors_to_cset

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 18
    • Affects Version/s: None
    • Component/s: hotspot
    • gc
    • b21

      In `G1Policy::transfer_survivors_to_cset`:


      ```
        HeapRegion* last = NULL;
        for (...) {
          ...
          last = cur;
        }
      ```

      `last` is effectively unused.

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

              Created:
              Updated:
              Resolved: