Title :
A run-time deadlock detector for concurrent Java programs
Author :
Nonaka, Yosuke ; Ushijima, Kosuke
Author_Institution :
Graduate Sch. of Inf. Sci. & Electr. Eng., Kyushu Univ., Fukuoka, Japan
Abstract :
Deadlock is one of the most serious and complex problems concerning the reliability of concurrent Java programs. In this paper, we discuss how to dynamically detect deadlocks in concurrent Java programs at run-time, and propose a representation of synchronization waiting state in an execution of a Java program, which is named the Java thread-wait-for graph. We explicitly define all types of deadlocks in Java with this representation and present an algorithm to detect the deadlocks. Two implementation methods are also presented. We succeeded in detecting a deadlock from a concurrent program, including all types of synchronization waiting relations, using our tool.
Keywords :
Java; concurrency control; multiprocessing programs; software reliability; synchronisation; system recovery; Java thread-wait-for graph; concurrent Java programs; dynamic run-time deadlock detector; reliability; synchronization waiting state; Concurrent computing; Detectors; Educational programs; Information science; Information technology; Java; Probes; Runtime; System recovery; Timing;
Conference_Titel :
Software Engineering Conference, 2001. APSEC 2001. Eighth Asia-Pacific
Print_ISBN :
0-7695-1408-1
DOI :
10.1109/APSEC.2001.991458