SmartTrack: efficient predictive race detection
Abstract
Widely used data race detectors, including the state-of-theart FastTrack algorithm, incur performance costs that are acceptable for regular in-house testing, but miss races detectable from the analyzed execution. Predictive analyses detect more data races in an analyzed execution than FastTrack detects, but at significantly higher performance cost.
This paper presents SmartTrack, an algorithm that optimizes predictive race detection analyses, including two analyses from prior work and a new analysis introduced in this paper. SmartTrack incorporates two main optimizations: (1) epoch and ownership optimizations from prior work, applied to predictive analysis for the first time, and (2) novel conflicting critical section optimizations introduced by this paper. Our evaluation shows that SmartTrack achieves performance competitive with FastTrack-a qualitative improvement in the state of the art for data race detection.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
18 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Sound Dynamic Deadlock Prediction in Linear Time cites Fast, sound, and effectively complete dynamic race prediction
- Sound Dynamic Deadlock Prediction in Linear Time cites Optimal prediction of synchronization-preserving races
- Greybox Fuzzing for Concurrency Testing cites Sound Dynamic Deadlock Prediction in Linear Time
- Greybox Fuzzing for Concurrency Testing cites Fast, sound, and effectively complete dynamic race prediction
- Greybox Fuzzing for Concurrency Testing cites Optimal prediction of synchronization-preserving races
- Canary: practical static detection of inter-thread value-flow bugs cites Fast, sound, and effectively complete dynamic race prediction
- Peahen: fast and precise static deadlock detection via context reduction cites Canary: practical static detection of inter-thread value-flow bugs
- Optimal prediction of synchronization-preserving races cites Fast, sound, and effectively complete dynamic race prediction
Cited by top-tier papers18
- Optimal prediction of synchronization-preserving racesUmang Mathur, Andreas Pavlogiannis, Mahesh ViswanathanPOPL 2021 · 36 citations
- Canary: practical static detection of inter-thread value-flow bugsYuandao Cai, Peisen Yao, Charles ZhangPLDI 2021 · 25 citations
- Greybox Fuzzing for Concurrency TestingDylan Wolff, Zheng Shi, Gregory J. Duck, Umang Mathur et al.ASPLOS 2024 · 19 citations
- Peahen: fast and precise static deadlock detection via context reductionYuandao Cai, Chengfeng Ye, Qingkai Shi, Charles ZhangFSE 2022 · 16 citations
- Sound Dynamic Deadlock Prediction in Linear TimeHünkar Can Tunç, Umang Mathur, Andreas Pavlogiannis, Mahesh ViswanathanPLDI 2023 · 15 citations
Builds on1
Related papers
- Optimistic Prediction of Synchronization-Reversal Data RacesZheng Shi, Umang Mathur, Andreas PavlogiannisICSE 2024 · 8 citations
- Dynamic Race Detection with O(1) SamplesMosaad Al Thokair, Minjian Zhang, Umang Mathur, Mahesh ViswanathanPOPL 2023 · 9 citations
- Tolerate Control-Flow Changes for Sound Data Race PredictionShihao Zhu, Yuqi Guo, Long Zhang, Yan CaiICSE 2023 · 5 citations
- Accurate Static Data Race Detection for CEmerson Sales, Omar Inverso, Emilio TuostoFM 2024 · 1 citation
- TransRacer: Function Dependence-Guided Transaction Race Detection for Smart ContractsChenyang Ma, Wei Song, Jeff HuangFSE 2023 · 11 citations
