Effective static deadlock detection

  • Authors:
  • Mayur Naik;Chang-Seo Park;Koushik Sen;David Gay

  • Affiliations:
  • Intel Research, USA;UC Berkeley, USA;UC Berkeley, USA;Intel Research, USA

  • Venue:
  • ICSE '09 Proceedings of the 31st International Conference on Software Engineering
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

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.