RFR: 8324186: AARCH64: Use "dmb.ishst+dmb.ishld" for release barrier
Andrew Haley
aph at openjdk.org
Tue Jan 23 09:50:28 UTC 2024
On Tue, 23 Jan 2024 02:28:48 GMT, Fei Yang <fyang at openjdk.org> wrote:
> > I wonder if this was tested on other vendors' hardware? I witnessed some negative impact at least on HiSilicon TSV110 running the same JMH. So I guess it might be safer to go as a vendor-specific change.
>
> I tried a number of different machines and saw regressions only on Kunpeng-920 (same CPU?) and A57 which is quite niche at this point.
Right, so it's probably a low-end, mostly-in-order thing. That makes sense because we're trading a weaker barrier for more instructions, and perhaps some cores implement barriers in a crude one-size-fits-all way.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17511#issuecomment-1905674792
More information about the hotspot-dev
mailing list