@inproceedings{e09f9508df624f0b872a9b7aef1ef82b,
title = "Lightweight data race detection for production runs",
abstract = "To detect data races that harm production systems, program analysis must target production runs. However, sound and precise data race detection adds too much run-time overhead for use in production systems. Even existing approaches that provide soundness or precision incur significant limitations. This work addresses the need for soundness (no missed races) and precision (no false races) by introducing novel, efficient production-time analyses that address each need separately. (1) Precise data race detection is useful for developers, who want to fix bugs but loathe false positives. We introduce a precise analysis called RaceChaser that provides low, bounded run-time overhead. (2) Sound race detection benefits analyses and tools whose correctness relies on knowledge of all potential data races. We present a sound, efficient approach called Caper that combines static and dynamic analysis to catch all data races in observed runs. Race- Chaser and Caper are useful not only on their own; we introduce a framework that combines these analyses, using Caper as a sound filter for precise data race detection by RaceChaser. Our evaluation shows that RaceChaser and Caper are efficient and effective, and compare favorably with existing state-of-the-art approaches. These results suggest that RaceChaser and Caper enable practical data race detection that is precise and sound, respectively, ultimately leading to more reliable software systems.",
keywords = "Data races, Dynamic analysis, Escape analysis, Sampling",
author = "Swarnendu Biswas and Man Cao and Minjia Zhang and Bond, {Michael D.} and Wood, {Benjamin P.}",
note = "Publisher Copyright: {\textcopyright} 2017 ACM.; 26th International Conference on Compiler Construction, CC 2017 ; Conference date: 05-02-2017 Through 06-02-2017",
year = "2017",
month = feb,
day = "5",
doi = "10.1145/3033019.3033020",
language = "English (US)",
series = "ACM International Conference Proceeding Series",
publisher = "Association for Computing Machinery",
pages = "11--21",
editor = "Peng Wu and Sebastian Hack",
booktitle = "CC 2017 - Proceedings of the 26th International Conference on Compiler Construction, co-located with CGO 2017",
address = "United States",
}