Title
Verifying concurrent programs against sequential specifications
Abstract
We investigate the algorithmic feasibility of checking whether concurrent implementations of shared-memory objects adhere to their given sequential specifications; sequential consistency, linearizability, and conflict serializability are the canonical variations of this problem. While verifying sequential consistency of systems with unbounded concurrency is known to be undecidable, we demonstrate that conflict serializability, and linearizability with fixed linearization points are EXPSPACE-complete, while the general linearizability problem is undecidable. Our (un)decidability proofs, besides bestowing novel theoretical results, also reveal novel program explorations strategies. For instance, we show that every violation to conflict serializability is captured by a conflict cycle whose length is bounded independently from the number of concurrent operations. This suggests an incomplete detection algorithm which only remembers a small subset of conflict edges, which can be made complete by increasing the number of remembered edges to the cycle-length bound. Similarly, our undecidability proof for linearizability suggests an incomplete detection algorithm which limits the number of "barriers" bisecting non-overlapping operations. Our decidability proof of bounded-barrier linearizability is interesting on its own, as it reduces the consideration of all possible operation serializations to numerical constraint solving. The literature seems to confirm that most violations are detectable by considering very few conflict edges or barriers.
Year
DOI
Venue
2013
10.1007/978-3-642-37036-6_17
ESOP
Keywords
Field
DocType
sequential specification,conflict serializability,concurrent program,general linearizability problem,bounded-barrier linearizability,incomplete detection algorithm,decidability proof,sequential consistency,concurrent implementation,conflict cycle,conflict edge
Linearizability,Serializability,Sequential consistency,Computer science,Concurrency,Algorithm,Decidability,Theoretical computer science,Mathematical proof,Reachability problem,Undecidable problem
Conference
Volume
ISSN
Citations 
7792
0302-9743
21
PageRank 
References 
Authors
0.83
25
4
Name
Order
Citations
PageRank
Ahmed Bouajjani12663184.84
Michael Emmi236521.76
Constantin Enea324926.95
Jad Hamza4716.44