Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2813

Remove BSON_EXTRA_ALIGNMENT option

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • 2.0.0
    • None
    • Build
    • None

    Description

      A few structs like bson_t and bson_iter_t are declared with 128-byte alignment instead of accepting the compiler default. It's intended to enforce efficient use of the CPU cache, but it leads to obscure problems: CDRIVER-2810CDRIVER-596, CXX-CXX-1678. Remove the flag and the alignment specifiers.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: