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

Andrew Haley aph at redhat.com
Wed Apr 8 12:38:05 UTC 2020


On 4/8/20 7:22 AM, Nick Gasson wrote:
> Do you think this is safe and worth doing?

Please forgive me for turning this into a rather extreme thought
experiment: if we hand-translate all GC runtime methods into all
targets, we have an NxM problem, #collectors * #targets. So it's hard
to justify without some heavy usage. And also, it means that if any of
these runtime methods change, we'd risk falling behind on AArch64.

Can you show us the assembly instructions that we'd save?

-- 
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