Practical Predictive Race Detection

05/01/2019
by   Jake Roemer, et al.
0

Widely used data race detectors, including the state-of-the-art FastTrack algorithm, incur performance costs that are acceptable for regular in-house testing, but miss races detectable from the analyzed execution. Predictive analyses detect more data races in an analyzed execution than FastTrack does, but at significantly higher cost. This paper presents SmartTrack, an algorithm that optimizes predictive race detection analyses, including two analyses from prior work and a new analysis introduced in this paper. SmartTrack's algorithm incorporates two main optimizations: epoch and ownership optimizations from prior work, applied to predictive analysis for the first time; and novel conflicting critical section optimizations introduced by this paper. Our evaluation shows that SmartTrack achieves performance competitive with FastTrack-a qualitative improvement to the state-of-the-art in data race detection.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/30/2019

Dependence-Aware, Unbounded Sound Predictive Race Detection

Data races are a real problem for parallel software, yet hard to detect....
research
12/08/2021

Efficient Data Race Detection of Async-Finish Programs Using Vector Clocks

Existing data race detectors for task-based programs incur significant r...
research
08/15/2023

Data Race Detection Using Large Language Models

Large language models (LLMs) are demonstrating significant promise as an...
research
07/19/2019

Online Set-Based Dynamic Analysis for Sound Predictive Race Detection

Predictive data race detectors find data races that exist in executions ...
research
11/24/2021

Predictive Data Race Detection for GPUs

The high degree of parallelism and relatively complicated synchronizatio...
research
01/13/2016

Digital Image Forensics vs. Image Composition: An Indirect Arms Race

The field of image composition is constantly trying to improve the ways ...
research
07/19/2023

Cross-thread critical sections and efficient dynamic race prediction methods

The lock set method and the partial order method are two main approaches...

Please sign up or login with your details

Forgot password? Click here to reset