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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.7.1
    • Internal Code
    • Fully Compatible
    • ALL
    • 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

              benety.goh@mongodb.com Benety Goh
              matt.kangas Matt Kangas
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: