Abstract
We describe an automatic verification method to check whether transactional memories ensure strict serializability-a key property assumed of the transactional interface. Our main contribution is a technique for effectively verifying parameterized systems. The technique merges ideas from parameterized hardware and protocol verification-verification by invisible invariants and symmetry reduction-with ideas from software verification-template-based invariant generation and satisfiability checking for quantified formulæ (modulo theories). The combination enables us to precisely model and analyze unbounded systems while taming state explosion. Our technique enables automated proofs that two-phase locking (TPL), dynamic software transactional memory (DSTM), and transactional locking II (TL2) systems ensure strict serializability. The verification is challenging since the systems are unbounded in several dimensions: The number and length of concurrently executing transactions, and the size of the shared memory they access, have no finite limit. In contrast, state-of-the-art software model checking tools such as BLAST and TVLA are unable to validate either system, due to inherent expressiveness limitations or state explosion.
Original language | English |
---|---|
Pages (from-to) | 134-145 |
Number of pages | 12 |
Journal | ACM SIGPLAN Notices |
Volume | 45 |
Issue number | 6 |
DOIs | |
State | Published - 1 Jun 2010 |
Externally published | Yes |
Keywords
- Parameterized verification
- Transactional memory
ASJC Scopus subject areas
- General Computer Science