Visualizing Potential Deadlocks in Multithreaded Programs
- Authors
- Kim, Byung-Chul; Jun, Sang-Woo; Hwang, Dae Joon; Jun, Yong-Kee
- Issue Date
- 2009
- Publisher
- SPRINGER-VERLAG BERLIN
- Keywords
- multithreaded programs; debugging; potential deadlocks; visualization; lock-causality graph
- Citation
- PARALLEL COMPUTING TECHNOLOGIES, PROCEEDINGS, v.5698, pp 321 - +
- Indexed
- SCIE
SCOPUS
- Journal Title
- PARALLEL COMPUTING TECHNOLOGIES, PROCEEDINGS
- Volume
- 5698
- Start Page
- 321
- End Page
- +
- URI
- https://scholarworks.gnu.ac.kr/handle/sw.gnu/27154
- ISSN
- 0302-9743
1611-3349
- Abstract
- It is important to analyze and identify potential deadlocks resident in multithreaded programs from a successful deadlock-free execution, because the nondeterministic nature of such programs may hide the errors during testing. Visualizing the runtime behaviors of locking operations makes it possible to debug such errors effectively, because it provides intuitive understanding of different feasible executions caused by nondeterminism. However, with previous visualization techniques, it is hard to capture alternate orders imposed by locks due to their representation of a partial-order over locking operations. This paper presents a novel graph, called lock-causality graph, which represents alternate orders over locking operations. A visualization tool implements the graph, and demonstrates its power using the classical dining-philosophers problem written in Java. The experiment result shows that the graph provides a simple but powerful representation of potential deadlocks in an execution instance not deadlocked.
- Files in This Item
- There are no files associated with this item.
- Appears in
Collections - 공과대학 > Department of Aerospace and Software Engineering > Journal Articles

Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.