[Lilliput/JDK17] Remove unnecessary check in G1ParScanThreadState

XMLWordPrintable

    • gc
    • generic
    • generic

      G1ParScanThreadState::do_copy_to_survivor_space() has an unnecessary change against upstream:

       if (old_mark.is_marked()) {
          // Already forwarded by somebody else, return forwardee.
          return old->forwardee(old_mark);
        }

      All callers of this method already do the same, so this only adds code and possible affects performance for no reason.

            Assignee:
            Roman Kennke
            Reporter:
            Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: