RFR: 8221554: aarch64 cross-modifying code [v3]

Andrew Haley aph at redhat.com
Mon Oct 12 16:14:49 UTC 2020


So, the good news and the bad news:

Moving to cross_modify_fence reduces the number of ISBs from
3,840,210 maybe_isb()s to 74,538 cross_modify_fence()s on my
poster child application, which is recompiling all of java.base.

However, this is a program that runs for 187,501,798,979 insns,
so we've reduced the proportion of ISBs from 0.002% to 0.00004%.
I guess that's worth having, but I doubt that the improvement
would ever have been above the noise level.

On the good side, this at least makes AArch64 more like other
targets.

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