forked from facebook/folly
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[folly] Use allocateOverAligned to allocate over-aligned ConcurrentHa…
…shMap nodes Summary: ConcurrentHashMap uses alignment to ensure that there is sufficient paddint to avoid false sharing, but doesn't ensure that the alignment condition is actually met. This causes problems under UBSAN. Test Plan: * existing unit tests * no UBSAN failures
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters