Dynamic Data-Race Detection through the Fine-Grained Lens
Rucha Kulkarni, Umang Mathur, Andreas Pavlogiannis

TL;DR
This paper analyzes the computational complexity of various dynamic data race detection notions, establishing fine-grained separations and lower bounds, and improving detection efficiency for certain cases in concurrent programs.
Contribution
It provides the first fine-grained complexity analysis of multiple data race notions, revealing their computational trade-offs and establishing new lower bounds.
Findings
HB race detection can be optimized to O(N·min(T, L)) time.
Detecting HB races involving read accesses is hard for 2-OV, with a quadratic lower bound.
Synchronization-preserving races are hard for OV-3, with a cubic lower bound.
Abstract
Data races are among the most common bugs in concurrency. The standard approach to data-race detection is via dynamic analyses, which work over executions of concurrent programs, instead of the program source code. The rich literature on the topic has created various notions of dynamic data races, which are known to be detected efficiently when certain parameters (e.g., number of threads) are small. However, the \emph{fine-grained} complexity of all these notions of races has remained elusive, making it impossible to characterize their trade-offs between precision and efficiency. In this work we establish several fine-grained separations between many popular notions of dynamic data races. The input is an execution trace with events, threads and locks. Our main results are as follows. First, we show that happens-before (HB) races can be detected in …
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
