[aarch64-port-dev ] Question about JVM option "-XX:+UseBarriersForVolatile" usage in aarch64.
Andrew Dinn
adinn at redhat.com
Wed Apr 8 13:18:11 UTC 2020
On 08/04/2020 11:26, Andrew Haley wrote:
> One other use of UseBarriersForVolatile was as a fallback when
> HotSpot changes broke the use of ldar/stlr for volatile. Andrew Dinn,
> so you think we still need it as a fallback in case ldar/stlr
> handling breaks again?
Well, I'm probably not the person to ask as my thought was that
maintaining the two sets of paths that this flag implies was not really
much of a burden. That's probably just me though (it /was/ mostly my code).
A-and yet I can see that it's not just me who is not maintaining this
code. So, if others find this complexity a burden then I'm happy for us
to simplify things by removing the flag and the alternative paths. I
think the code has baked fairly well so perhaps we don't need this fallback.
regards,
Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill
More information about the aarch64-port-dev
mailing list