RFR(S): 8246373 AArch64: Refactor register spilling code in ZGC barriers

Andrew Haley aph at redhat.com
Fri Jul 17 07:42:17 UTC 2020


Hi,

On 16/07/2020 20:29, Stuart Monteith wrote:
> Hello,
>     There is an opportunity to spill/load fewer registers in ZGC barriers. This is targetting JDK 16 jdk/jdk.
> 
> JIRA:
> 	https://bugs.openjdk.java.net/browse/JDK-8246373
> Webrev:
> 	http://cr.openjdk.java.net/~smonteith/8246373/webrev.0/
> 
> Tested with JTReg, SPECjbb2015, and other workloads.

Looks reasonable, but please keep push_call_clobbered_registers(). If
you need to do this, add push_call_clobbered_registers_except(RegSet).
Of course the former can call the latter.

-- 
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 zgc-dev mailing list