ACM SIGPLAN Notices · 2004 · 14 citations · 14 references
ComputingComputer ScienceComputer SystemsAlgorithmsProgramming LanguagesSystems ProgrammingConcurrency AnalysisConcurrent ProgrammingControl-flow AnalysisConcurrency PrimitivesDeadlock AnalysisDeadlock DetectionExecution Trace AnalysisIdle Time ReductionIdle TimeoutSchedule ExplorationSystem Configuration
This paper presents an approach to searching for deadlocks in Concurrent Haskell programs. The search is based on a redefinition of the IO monad which allows the reversal of Concurrent Haskells concurrency primitives. Hence, it is possible to implement this search by a backtracking algorithm checking all possible schedules of the system. It is integrated in the Concurrent Haskell Debugger (CHD), and automatically searches for deadlocks in the background while debugging. The tool is easy to use and the small modifications of the source program are done by a preprocessor. In the tool we use iterative deepening as search strategy which quickly detects deadlocks close to the actual system configuration and utilizes idle time during debugging at the best.
14
James C. Corbett, Matthew B. Dwyer, John Hatcliff et al. · 2000 · 1.1K citations · Full text
Simon Peyton Jones, Andrew D. Gordon, Sigbjørn Finne · 1996 · 378 citations