Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8220441

[PPC64] Clobber memory effect missing for memory barriers in atomics

XMLWordPrintable

    • b12
    • ppc

        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.

              mdoerr Martin Doerr
              mdoerr Martin Doerr
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: