Integrated: 8271579: G1: Move copy before CAS in do_copy_to_survivor_space

Hamlin Li mli at openjdk.java.net
Fri Aug 20 11:30:32 UTC 2021


On Wed, 4 Aug 2021 01:06:47 GMT, Hamlin Li <mli at openjdk.org> wrote:

> 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.
> 
> After this change copy_to_survivor in G1 is also aligned with PS's copy_to_survivor.

This pull request has now been integrated.

Changeset: d874e961
Author:    Hamlin Li <mli at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/d874e9616f80324a53f3c8866ce500e55dfa308f
Stats:     13 lines in 1 file changed: 1 ins; 11 del; 1 mod

8271579: G1: Move copy before CAS in do_copy_to_survivor_space
8272070: G1: Simplify age calculation after JDK-8271579

Co-authored-by: shoubing ma <mashoubing1 at huawei.com>
Reviewed-by: tschatzl, ayang

-------------

PR: https://git.openjdk.java.net/jdk/pull/4983



More information about the hotspot-gc-dev mailing list