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

G1: remove unused variable in G1Policy::transfer_survivors_to_cset

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 18
    • hotspot
    • gc
    • b21

    Description

      In `G1Policy::transfer_survivors_to_cset`:


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

      `last` is effectively unused.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: