2006 · 63 citations · 16 references
ComputingComputer ScienceComputer SystemsFault-tolerant SystemsOperating SystemsProgramming LanguagesConcurrency AnalysisConcurrency ControlConcurrent ProgrammingControl-flow AnalysisData-flow AnalysisSynchronization PrimitivesConcurrency BugsConcurrency ModelsCondition VariablesDeadlockDeadlock DetectionDynamic Race DetectionRace Condition AnalysisRace Condition Detection
Concurrent programs are notorious for containing errors that are difficult to reproduce and diagnose. A common kind of concurrency error is deadlock, which occurs when some threads are permanently blocked. This paper defines a run-time notion of potential deadlock in programs with locks, semaphores, and condition variables. Informally, an execution has potential for a deadlock if some feasible permutation of the execution results in a deadlock. Feasibility of a permutation is determined by ordering constraints amongst events in the execution. Previous work on run-time detection of potential deadlocks are for programs that use locks. This paper presents run-time algorithms to detect potential deadlocks in programs that use locks (block structured as well as non block structured), semaphores, and condition variables.
16
Stefan Savage, Michael T. Burrows, Greg Nelson et al. · ACM Transactions on Computer Systems · 1997 · 1.6K citations · Full text
Virtual Time and Global States of Distributed Systems
Friedemann Mattern · 2002 · 1.3K citations
Dawson Engler, Ken Ashcraft · ACM SIGOPS Operating Systems Review · 2003 · 664 citations
Ownership types for safe programming
Chandrasekhar Boyapati, Robert Lee, Martin Rinard · 2002 · 571 citations
Hybrid dynamic data race detection
Robert O'Callahan, Jong-Deok Choi · 2003 · 432 citations