SmartTrack: efficient predictive race detection
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 18 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Sound Dynamic Deadlock Prediction in Linear Time 引用了 Fast, sound, and effectively complete dynamic race prediction
- Sound Dynamic Deadlock Prediction in Linear Time 引用了 Optimal prediction of synchronization-preserving races
- Greybox Fuzzing for Concurrency Testing 引用了 Sound Dynamic Deadlock Prediction in Linear Time
- Greybox Fuzzing for Concurrency Testing 引用了 Fast, sound, and effectively complete dynamic race prediction
- Greybox Fuzzing for Concurrency Testing 引用了 Optimal prediction of synchronization-preserving races
- Canary: practical static detection of inter-thread value-flow bugs 引用了 Fast, sound, and effectively complete dynamic race prediction
- Peahen: fast and precise static deadlock detection via context reduction 引用了 Canary: practical static detection of inter-thread value-flow bugs
- Optimal prediction of synchronization-preserving races 引用了 Fast, sound, and effectively complete dynamic race prediction
引用它的顶会 Paper18
- Optimal prediction of synchronization-preserving racesUmang Mathur, Andreas Pavlogiannis, Mahesh ViswanathanPOPL 2021 · 36 次引用
- Canary: practical static detection of inter-thread value-flow bugsYuandao Cai, Peisen Yao, Charles ZhangPLDI 2021 · 25 次引用
- Greybox Fuzzing for Concurrency TestingDylan Wolff, Zheng Shi, Gregory J. Duck, Umang Mathur 等ASPLOS 2024 · 19 次引用
- Peahen: fast and precise static deadlock detection via context reductionYuandao Cai, Chengfeng Ye, Qingkai Shi, Charles ZhangFSE 2022 · 16 次引用
- Sound Dynamic Deadlock Prediction in Linear TimeHünkar Can Tunç, Umang Mathur, Andreas Pavlogiannis, Mahesh ViswanathanPLDI 2023 · 15 次引用
它引用的 Paper1
相关 Paper
- Optimistic Prediction of Synchronization-Reversal Data RacesZheng Shi, Umang Mathur, Andreas PavlogiannisICSE 2024 · 8 次引用
- Dynamic Race Detection with O(1) SamplesMosaad Al Thokair, Minjian Zhang, Umang Mathur, Mahesh ViswanathanPOPL 2023 · 9 次引用
- Tolerate Control-Flow Changes for Sound Data Race PredictionShihao Zhu, Yuqi Guo, Long Zhang, Yan CaiICSE 2023 · 5 次引用
- Accurate Static Data Race Detection for CEmerson Sales, Omar Inverso, Emilio TuostoFM 2024 · 1 次引用
- TransRacer: Function Dependence-Guided Transaction Race Detection for Smart ContractsChenyang Ma, Wei Song, Jeff HuangFSE 2023 · 11 次引用
