-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Build
-
None
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-2810, CDRIVER-596, CXX-CXX-1678. Remove the flag and the alignment specifiers.
- is related to
-
CDRIVER-596 Figure out what to do about bson_t alignment restrictions
- Closed
-
CDRIVER-2810 misaligned address
- Closed
-
CXX-1678 std::aligned_storage build failure with extra alignment
- Closed