Magiclock: Scalable Detection of Potential Deadlocks in Large-Scale Multithreaded Programs
Authors:
- 21 January 2014
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 40 (3) , 266-281
Abstract
We present Magiclock, a novel potential deadlock detection technique by analyzing execution traces (containing no deadlock occurrence) of large-scale multithreaded programs. Magiclock iteratively eliminates removable lock dependencies before potential deadlock localization. It divides lock dependencies into thread specific partitions, consolidates equivalent lock dependencies, and searches over the set of lock dependency chains without the need to examine any duplicated permutations of the same lock dependency chains. We validate Magiclock through a suite of real-world, large-scale multithreaded programs. The experimental results show that Magiclock is significantly more scalable and efficient than existing dynamic detectors in analyzing and detecting potential deadlocks in execution traces of large-scale multithreaded programs.Keywords
This publication has 29 references indexed in Scilit:
- Multicore acceleration of priority-based schedulers for concurrency bug detection2012
- Multicore SDK: A Practical and Efficient Deadlock Detector for Real-World Applications2011
- Detecting atomic-set serializability violations in multithreaded programs through active randomized testing2010
- A randomized dynamic program analysis technique for detecting real deadlocks2009
- LiteRace2009
- Effective static deadlock detection2009
- Learning from mistakes2008
- Pin2005
- Deadlock detection in distributed databasesACM Computing Surveys, 1987
- Time, clocks, and the ordering of events in a distributed systemCommunications of the ACM, 1978