[PATCH] D28068: Whenever reasonable, merge ASAN quarantine batches to save memory.

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 17:23:52 PST 2017

alekseyshl added a comment.


Doing even minimal work under cache spin lock on Put proven to be too slow in certain conditions (many threads, many allocations). The spin lock contention hits slow path (__sanitizer::internal_sched_yield()) and context switch results in dramatically slower execution (up to 20x slowdown observed in tests).


More information about the llvm-commits mailing list