[PATCH] tsan: automatically deflake flaky tests

Kostya Serebryany kcc at google.com
Wed May 28 11:26:53 PDT 2014


More info if you are curious:
https://groups.google.com/forum/#!topic/thread-sanitizer/KIok3F_b1oI


On Wed, May 28, 2014 at 7:26 PM, Dmitry Vyukov <dvyukov at google.com> wrote:

> The tests test that ThreadSanitizer finds the data race in particular
> conditions. However, ThreadSanitizer core algorithm can miss a data race
> when the racy memory access attempts happen very close to each other
> (literally simultaneously). This was done intentionally, fixing this would
> impose significant slowdown and this is not a problem for programs other
> than unit tests.
> So the unit tests suffer from this aspect.
>
> http://reviews.llvm.org/D3913
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140528/b8f2574a/attachment.html>


More information about the llvm-commits mailing list