On Models for Sound Dynamic Data Race Detection: A Survey and An Outlook
Shihao Zhu, Yuqi Guo, Jinqiu Wang, Yan Cai, Jian Zhang, Shuyang Liu, Jens Palsberg
Key points
From the paper's conclusion- We evaluate 14 recently published dynamic data race detectors and one classic happens-before-based detector against these models and answer seven research questions through theoretical analysis and experimental evaluation.
Abstract
Ensuring correctness in multi-threaded programs requires effective detection of concurrency bugs, which is challenging due to the nondeterminism of thread scheduling. Recently, there have been advancements in dynamic detectors based on various consistency models, assumptions, and algorithms. These detectors significantly improve concurrency coverage. However, due to limitations in the model assumptions, they are confined to the space obtained by reordering observed traces ( S ob ). It is important to investigate how different model assumptions impact detection results. Additionally, since each detector is evaluated on different sets of benchmark programs, it is unclear which detectors and algorithms are more effective and efficient. In this paper, we provide a systematic analysis of the reordering of observed traces by establishing a unified framework of four trace-restricted consistency models, whose detection spaces are strictly confined to S ob . We evaluate 14 recently published dynamic data race detectors and one classic happens-before-based detector against these models and answer seven research questions through theoretical analysis and experimental evaluation. This offers a new perspective for understanding and improving existing methodologies. Finally, we conceptualize a new model that extends beyond S ob by incorporating program semantics, serving as a direction for future research to bridge the gap between observed traces and the full program execution space.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A review of automated approaches to race condition detectionJournal of Computer Virology and Hacking Techniques · 2026
- Breaking the Coupling: Efficient Concurrency Fuzzing for Linux Kernel Data Race DetectionarXiv · 2026
- Nothing Is Shared Until You Synchronise: Reinterpreting Java for Data-Race FreedomarXiv · 2026
- REINS: Agent-guided Thread Scheduling for Concurrency Bug Detection and ReproductionarXiv · 2026
- Taking Time Out of TOCTOU: From Race Reproduction to Security DiscoveryarXiv · 2026
- Efficient Predictive Monitoring of Message Passing Interface ProgramsProceedings of the ACM on Software Engineering · 2026