Efficient Dynamic Algorithms to Predict Short Races
Minjian Zhang, Mahesh Viswanathan

TL;DR
This paper develops efficient algorithms for detecting short races in concurrent traces, improving speed and memory efficiency over existing methods while increasing race detection capabilities.
Contribution
Introduces a monitoring framework for short-race prediction and provides novel algorithms for happens-before and sync-preserving races with improved efficiency.
Findings
Algorithms run faster than existing methods.
Use significantly less memory.
Detect more races under the same resource constraints.
Abstract
We introduce and study the problem of detecting short races in an observed trace. Specifically, for a race type , given a trace and window size , the task is to determine whether there exists an -race in such that the subtrace starting with and ending with contains at most events. We present a monitoring framework for short-race prediction and instantiate the framework for happens-before and sync-preserving races, yielding efficient detection algorithms. Our happens-before algorithm runs in the same time as FastTrack but uses space that scales with as opposed to . For sync-preserving races, our algorithm runs faster and consumes significantly less space than SyncP. Our experiments validate the effectiveness of these short-race detection algorithms: they run more efficiently, use less memory, and detect…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Quality and Management · Software System Performance and Reliability · Time Series Analysis and Forecasting
