Machine instruction level race condition detection
Abstract
An apparatus, method and computer-readable medium provide for detecting and filtering potential race conditions. In one example, potential race conditions may be detected by determining overlap of memory accesses (e.g., read, write). Potential race conditions may be filtered as potentially benign or harmful race conditions using, for example, heuristics, comparison of output states from execution of instructions or operations in differing sequences or identifying of associated output bugs corresponding to the execution of operations in different sequences.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 14.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
One or more computer-readable media containing executable code for performing the following steps: recording execution of a first execution context comprising a first write instruction and a second execution context comprising a second write instruction; detecting one or more possible race conditions that may occur when concurrently executing the first execution context and the second execution context; filtering one or more false positive race conditions from the one or more possible race conditions to obtain a positive race condition; determining that the first write instruction writes a fir
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (14 of 14 total)
References Cited — Backward Prior Art (19)
Non-Patent Literature (4)
- Eraser: A Dynamic Data Race Detector for Multithreaded Programs by Stefan Savage Published Nov. 1997.
- J.D. Choi et al. "Efficient and Precise Datarace Detection for Multithreaded Object-Oriented Programs", ACM SIGPLAN 2002 Conference on Programming Language Design and Implementation (PLDI), Berlin, Germany, Jun. 17-19, 2002.
- Michiel Ronsse et al. "RecPlay: A Fully Integrated Practical Record/Replay System", ACM Transactions on Computer Systems (TOCS), May 1999, vol. 17, Issue 2.
- Yuan Yu et al. "RaceTrack: Efficient Detection of Data Race Conditions via Adaptive Tracking", ACM Symposium on Operating Systems Principles, Proceedings of the twentieth ACM symposium on Operating systems principles, 2005.