Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12283

Use gcc atomic builtins if available on IA-32 and x86_64

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.1
    • Component/s: Internal Code
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Server 2.7.1

      Description

      Follow-on to SERVER-12064. Robie Basak of Canonical submitted a pull request to improve our portability, particularly on ARM.

      https://github.com/mongodb/mongo/pull/582

      We merged two of his three commits for 2.5.5. The third changes the codepath on IA-32 and x86_64 to use GCC atomic builtins if available rather than the inline assembler of mongo/platform/atomic_intrinsics_gcc_intel.h

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: