Commit eb77459
authored
ThreadSanitizer: add ignorelist and suppressions file (#59741)
Instrumenting the garbage collector results in a ton of warnings that
would require relaxed atomics to suppress, and is a huge performance
drag. This change turns off instrumentation for non-atomic operations
for everything in `src/gc-*.c`.
Also, adds a `suppressions.txt` to be used with
`TSAN_OPTIONS="suppressions=contrib/tsan/suppressions.txt"` that
suppresses the lock order inversion warning on method locks, which is
documented in
https://docs.julialang.org/en/v1.13-dev/devdocs/locks/#Exceptions-to-the-lock-hierarchy.1 parent 406027e commit eb77459
3 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
818 | 818 | | |
819 | 819 | | |
820 | 820 | | |
821 | | - | |
| 821 | + | |
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments