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

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

    Details

    • Subcomponent:
    • Resolved In Build:
      b12
    • CPU:
      ppc

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: