1. Effective static deadlock detection
- Author
-
Mayur Naik, Chang-Seo Park, Koushik Sen, and David Gay
- Subjects
Concurrency control ,Java ,Computer science ,Multithreading ,Edge chasing ,Context (language use) ,Algorithm design ,Parallel computing ,Deadlock ,Static analysis ,computer ,Deadlock prevention algorithms ,computer.programming_language - Abstract
We present an effective static deadlock detection algorithm for Java. Our algorithm uses a novel combination of static analyses each of which approximates a different necessary condition for a deadlock. We have implemented the algorithm and report upon our experience applying it to a suite of multi-threaded Java programs. While neither sound nor complete, our approach is effective in practice, finding all known deadlocks as well as discovering previously unknown ones in our benchmarks with few false alarms.
- Published
- 2009