Paper record

W2109033563

Velodrome: a sound and complete dynamic atomicity checker for multithreaded programs

Cormac Flanagan, Stephen N. Freund, Jaeheon Yi

Year
2008
Venue
ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI)
References
51
Cited by
258

Details and counts from OpenAlex.

Abstract

Atomicity is a fundamental correctness property in multithreaded programs, both because atomic code blocks are amenable to sequential reasoning (which significantly simplifies correctness arguments), and because atomicity violations often reveal defects in a program's synchronization structure. Unfortunately, all atomicity analyses developed to date are incomplete in that they may yield false alarms on correctly synchronized programs, which limits their usefulness. We present the first dynamic analysis for atomicity that is both sound and complete. The analysis reasons about the exact dependencies between operations in the observed trace of the target program, and it reports error messages if and only if the observed trace is not conflict-serializable. Despite this significant increase in precision, the performance and coverage of our analysis is competitive with earlier incomplete dynamic analyses for atomicity.