[aarch64-port-dev ] RFR: 8242029: AArch64: skip G1 array copy pre-barrier if marking not active

Andrew Haley aph at redhat.com
Tue Apr 7 09:55:53 UTC 2020


On 4/7/20 8:19 AM, Nick Gasson wrote:

The patch looks good, thanks.

> This patch adds a check to skip the call unless marking is in
> progress. X86 already has this optimisation and I can't see a reason not
> to do it on AArch64 as well.

Indeed not. I don't quite remember the history of this, but I guess
that this optimization was added to x86 after we did AArch64.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671




More information about the hotspot-gc-dev mailing list