Abstract
Serializability is a commonly used correctness condition in concurrent programming. When a concurrent module is serializable, certain other properties of the module can be verified by considering only its sequential executions. In many cases, concurrent modules guarantee serializability by using standard locking protocols, such as tree locking or two-phase locking. Unfortunately, according to the existing literature, verifying that a concurrent module adheres to these protocols requires considering concurrent interleavings. In this paper, we show that adherence to a large class of locking protocols (including tree locking and two-phase locking) can be verified by considering only sequential executions. The main consequence of our results is that in many cases, the (manual or automatic) verification of serializability can itself be done using sequential reasoning.
Original language | English |
---|---|
Pages (from-to) | 31-42 |
Number of pages | 12 |
Journal | ACM SIGPLAN Notices |
Volume | 45 |
Issue number | 1 |
DOIs | |
State | Published - Jan 2010 |
Externally published | Yes |
Keywords
- Concurrency
- Modular Analysis
- Reduction
- Serializability
- Verification