Title
Sound, complete, and tractable linearizability monitoring for concurrent collections
Abstract
While many program properties like the validity of assertions and in-bounds array accesses admit nearly-trivial monitoring algorithms, the standard correctness criterion for concurrent data structures does not. Given an implementation of an arbitrary abstract data type, checking whether the operations invoked in one single concurrent execution are linearizable, i.e., indistinguishable from an execution where the same operations are invoked atomically, requires exponential time in the number of operations. In this work we identify a class of collection abstract data types which admit polynomial-time linearizability monitors. Collections capture the majority of concurrent data structures available in practice, including stacks, queues, sets, and maps. Although monitoring executions of arbitrary abstract data types requires enumerating exponentially-many possible linearizations, collections enjoy combinatorial properties which avoid the enumeration. We leverage these properties to reduce linearizability to Horn satisfiability. As far as we know, ours is the first sound, complete, and tractable algorithm for monitoring linearizability for types beyond single-value registers.
Year
DOI
Venue
2018
10.1145/3158113
Proceedings of the ACM on Programming Languages
Keywords
Field
DocType
Concurrent Objects,Linearizability,Runtime Veri cation
Abstract data type,Linearizability,Programming language,Exponential function,Computer science,Correctness,Theoretical computer science,Concurrent data structure
Journal
Volume
Issue
ISSN
2
POPL
2475-1421
Citations 
PageRank 
References 
1
0.38
0
Authors
2
Name
Order
Citations
PageRank
Michael Emmi136521.76
Constantin Enea224926.95