Model checking transactional memories
Guerraoui R, Henzinger TA, Singh V. 2010. Model checking transactional memories. Distributed Computing. 22(3), 129–145.
Download
No fulltext has been uploaded. References only!
Journal Article
| Published
Author
Abstract
Model checking transactional memories (TMs) is difficult because of the unbounded number, length, and delay of concurrent transactions, as well as the unbounded size of the memory. We show that, under certain conditions satisfied by most TMs we know of, the model checking problem can be reduced to a finite-state problem, and we illustrate the use of the method by proving the correctness of several TMs, including two-phase locking, DSTM, and TL2. The safety properties we consider include strict serializability and opacity; the liveness properties include obstruction freedom, livelock freedom, and wait freedom. Our main contribution lies in the structure of the proofs, which are largely automated and not restricted to the TMs mentioned above. In a first step we show that every TM that enjoys certain structural properties either violates a requirement on some program with two threads and two shared variables, or satisfies the requirement on all programs. In the second step, we use a model checker to prove the requirement for the TM applied to a most general program with two threads and two variables. In the safety case, the model checker checks language inclusion between two finite-state transition systems, a nondeterministic transition system representing the given TM applied to a most general program, and a deterministic transition system representing a most liberal safe TM applied to the same program. The given TM transition system is nondeterministic because a TM can be used with different contention managers, which resolve conflicts differently. In the liveness case, the model checker analyzes fairness conditions on the given TM transition system.
Publishing Year
Date Published
2010-03-01
Journal Title
Distributed Computing
Publisher
Springer
Acknowledgement
This research was supported by the Swiss National Science Foundation. This paper is an extended and revised version of our previous work on model checking transactional memories.
Volume
22
Issue
3
Page
129 - 145
IST-REx-ID
Cite this
Guerraoui R, Henzinger TA, Singh V. Model checking transactional memories. Distributed Computing. 2010;22(3):129-145. doi:10.1007/s00446-009-0092-6
Guerraoui, R., Henzinger, T. A., & Singh, V. (2010). Model checking transactional memories. Distributed Computing. Springer. https://doi.org/10.1007/s00446-009-0092-6
Guerraoui, Rachid, Thomas A Henzinger, and Vasu Singh. “Model Checking Transactional Memories.” Distributed Computing. Springer, 2010. https://doi.org/10.1007/s00446-009-0092-6.
R. Guerraoui, T. A. Henzinger, and V. Singh, “Model checking transactional memories,” Distributed Computing, vol. 22, no. 3. Springer, pp. 129–145, 2010.
Guerraoui R, Henzinger TA, Singh V. 2010. Model checking transactional memories. Distributed Computing. 22(3), 129–145.
Guerraoui, Rachid, et al. “Model Checking Transactional Memories.” Distributed Computing, vol. 22, no. 3, Springer, 2010, pp. 129–45, doi:10.1007/s00446-009-0092-6.
Link(s) to Main File(s)
Access Level
Closed Access