RFR(S): 8220441: [PPC64] Clobber memory effect missing for memory barriers in atomics

Doerr, Martin martin.doerr at sap.com
Mon Mar 11 16:05:03 UTC 2019


the atomics in atomic_aix/linux_ppc.hpp use inline assembler memory barriers. They need a "clobber memory" effect in order to get handled correctly by C++ compilers.
We haven't seen issues so far, but we should avoid problems with future compiler versions.

Please review

Best regards,

More information about the hotspot-runtime-dev mailing list