2010 · 208 citations · 25 references
ComputingComputer EngineeringComputer ScienceFault-tolerant SystemsParallel AlgorithmsSchedulingConcurrency AnalysisConcurrency ControlConcurrent ProgrammingCpu SchedulingSoftware TestingAtomicityAtomicity ViolationsConcurrency Bug DetectionConcurrency Bug LocalizationConcurrency BugsConcurrent Program TestingRandomizationScheduler Design
This paper presents a randomized scheduler for finding concurrency bugs. Like current stress-testing methods, it repeatedly runs a given test program with supplied inputs. However, it improves on stress-testing by finding buggy schedules more effectively and by quantifying the probability of missing concurrency bugs. Key to its design is the characterization of the depth of a concurrency bug as the minimum number of scheduling constraints required to find it. In a single run of a program with n threads and k steps, our scheduler detects a concurrency bug of depth d with probability at least 1/nkd-1. We hypothesize that in practice, many concurrency bugs (including well-known types such as ordering errors, atomicity violations, and deadlocks) have small bug-depths, and we confirm the efficiency of our schedule randomization by detecting previously unknown and known concurrency bugs in several production-scale concurrent programs.
25
Shan Lu, Soyeon Park, Eunsoo Seo et al. · 2008 · 892 citations
Model checking for programming languages using VeriSoft
Patrice Godefroid · 1997 · 829 citations · Full text
Cormac Flanagan, Stephen N. Freund · 2009 · 671 citations