G1: Move copy before CAS in do_copy_to_survivor_space

XMLWordPrintable

    • gc
    • b12

      Propose to move copy before CAS in do_copy_to_survivor_space, as we found this will improve G1 performance. Specjbb shows 3.7% in critical on aarch64, no change in max.
      (For JDK 11, the improvement is better.)

      After this change copy_to_survivor in G1 is also aligned with PS's copy_to_survivor.

            Assignee:
            Hamlin Li
            Reporter:
            Hamlin Li
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: