2003 · 432 citations · 17 references
ComputingComputer EngineeringComputer ScienceFormal MethodsOperating SystemsProgramming LanguagesConcurrent ProgrammingRace Condition VulnerabilitiesApplication ServersData Race AnalysisDetectorsDynamic Race DetectionRace Condition AnalysisRace Condition DetectionRedundant ComputationWeb Servers
We present a new method for dynamically detecting potential data races in multithreaded programs. Our method improves on the state of the art in accuracy, in usability, and in overhead. We improve accuracy by combining previously known race detection techniques -- lockset-based detection and happens-before-based detection -- to obtain fewer false positives than lockset-based detection alone. We enhance usability by reporting more information about detected races than any previous dynamic detector. We reduce overhead compared to previous detectors -- particularly for large applications such as Web application servers -- by not relying on happens-before detection alone, by introducing a new optimization to discard redundant information, and by using a two phase approach to identify error-prone program points and then focus instrumentation on those points. We justify our claims by presenting the results of applying our tool to a range of Java programs, including the widely-used Web application servers Resin and Apache Tomcat. Our paper also presents a formalization of locksetbased and happens-before-based approaches in a common framework, allowing us to prove a folk theorem that happens-before detection reports fewer false positives than lockset-based detection (but can report more false negatives), and to prove that key optimizations are correct.
17
Communicating sequential processes
Roger Boyle · Data Processing · 1985 · 2K citations
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