2020 LLVM Developers’ Meeting: “GWP-TSan: Zero-Cost Detection of Data Races in Production”

Опубликовано: 06 Август 2026
на канале: LLVM
288
4

https://llvm.org/devmtg/2020-09/

GWP-TSan: Zero-Cost Detection of Data Races in Production - Matt Morehouse

Slides:

GWP-TSan is a negligible-overhead sampling-based utility for finding heap-data-races in production.  It combines the capabilities of DataCollider with the sampling mechanism of GWP-ASan to provide probabilistic race detection with arbitrarily low CPU and RAM overhead.  This low overhead allows GWP-TSan to be widely deployed in production, where it can find data races that have evaded all other forms of testing, including testing with sanitizers.

This talk provides an introduction to how GWP-TSan works, implementation challenges, and early results.