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

12/08/2021
by   Shivam Kumar, et al.
0

Existing data race detectors for task-based programs incur significant run time and space overheads. The overheads arise because of frequent lookups in fine-grained tree data structures to check whether two accesses can happen in parallel. This work shows how to efficiently apply vector clocks for dynamic data race detection of async-finish programs with locks. Our proposed technique, FastRacer, builds on the FastTrack algorithm with per-task and per-variable optimizations to reduce the size of vector clocks. FastRacer exploits the structured parallelism of async-finish programs to use a coarse-grained encoding of the dynamic task inheritance relations to limit the metadata in the presence of many concurrent readers. Our evaluation shows that FastRacer substantially improves time and space overheads over FastTrack, and is competitive with the state-of-the-art data race detectors for async-finish programs with locks.

READ FULL TEXT
research
05/01/2019

Practical Predictive Race Detection

Widely used data race detectors, including the state-of-the-art FastTrac...
research
01/03/2019

Efficient Race Detection with Futures

This paper addresses the problem of provably efficient and practically g...
research
08/15/2023

Data Race Detection Using Large Language Models

Large language models (LLMs) are demonstrating significant promise as an...
research
02/05/2018

The Effect Race in Fine-Grained Concurrency

Most existed work require knowledge about the effect of program instruct...
research
04/15/2020

Efficient, Near Complete and Often Sound Hybrid Dynamic Data Race Prediction (extended version)

Dynamic data race prediction aims to identify races based on a single pr...
research
11/24/2021

Predictive Data Race Detection for GPUs

The high degree of parallelism and relatively complicated synchronizatio...
research
07/08/2021

Dynamic Data-Race Detection through the Fine-Grained Lens

Data races are among the most common bugs in concurrency. The standard a...

Please sign up or login with your details

Forgot password? Click here to reset