• Home
  • Search
  • Acculock: Accurate and efficient detection of data races
  • Cite Icon53
  • https://doi.org/10.5555/2190025.2190068Copy DOI Icon

Acculock: Accurate and efficient detection of data races

  • Apr 2, 2011
  • Xinwei Xie +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Happens-before detectors are precise but can be too conservative to detect certain data races in repeated test runs as they are sensitive to thread interleaving. By making the opposite tradeoffs, lockset detectors can detect more races but are not precise (by reporting false positives). For both types of detectors, happens-before detectors run more slowly as they use expensive vector clocks. Existing hybrid race detectors (combining lockset and happens-before) alleviate some of the limitations in both analysis techniques at the cost of additional analysis overhead. Recently, due to FastTrack, epoch-based happens-before and lockset detectors now exhibit comparable performance. It is the time to rethink how to design a hybrid race detector to balance precision and coverage, by leveraging the lightweightness of epoch clocks. Acculock is the first such a solution. Acculock analyzes a program by reasoning about the subset of the happens-before relation observed with lock acquires and releases excluded, thereby reducing its sensitivity to thread interleaving. When such a weaker happens-before relation is violated, Acculock applies a new efficient lockset algorithm to enforce a lock-based synchronization discipline by distinguishing the locks protecting reads and writes. The key motivation behind is to ensure that Acculock can improve happens-before detectors by discovering also data races in alternate thread interleavings when analyzing one program execution while limiting false warnings thus incurred in a controlled manner. In addition, Acculock achieves these objectives by maintaining comparable performance as FastTrack, the fastest happens-before detector. All these properties of Acculock are validated and confirmed by comparing it against six other detectors, all implemented in Jikes RVM using 11 benchmark programs.

Similar Papers
  • Conference Article
  • Citations43

Acculock: Accurate and efficient detection of data races

  • Apr 01, 2011
  • Xinwei Xie +1
  • Research Article
  • Citations81

Race detection for Android applications

  • Jun 05, 2014
  • ACM SIGPLAN Notices
  • Pallavi Maiya +2
  • Research Article
  • Citations2

VORD: A Versatile On-the-fly Race Detection Tool in OpenMP Programs

  • Jul 25, 2013
  • International Journal of Parallel Programming
  • Young-Joo Kim +2
  • Conference Article
  • Citations5

Does it matter?

  • Jun 03, 2021
  • Wenwen Wang +1
  • Research Article
  • Citations2

Parallelizing data race detection

  • Mar 16, 2013
  • ACM SIGARCH Computer Architecture News
  • Benjamin Wester +4
  • Research Article
  • Citations20

Acculock: accurate and efficient detection of data races

  • Apr 16, 2012
  • Software: Practice and Experience
  • Xinwei Xie +2
  • Research Article
  • Citations1

First Race Detection in Parallel Program with Random Synchronization using Trace Information

  • Sep 30, 2013
  • International Journal of Software Engineering and Its Applications
  • Hee-Dong Park +1
  • Book Chapter
  • Citations14

Dynamic Data Race Detection for Correlated Variables

  • Jan 01, 2011
  • Ali Jannesari +2
  • Book Chapter
  • Citations62

Efficient Data Race Detection for Async-Finish Parallelism

  • Jan 01, 2010
  • Raghavan Raman +4
  • PDF
  • Research Article

Инструмент для поиска гонок по данным RaceHunter

  • Jan 01, 2023
  • Proceedings of the Institute for System Programming of the RAS
  • Evgeny Anatol'Evich Gerlits
  • Research Article
  • Citations58

The Design and Implementation of a Verification Technique for GPU Kernels

  • May 22, 2015
  • ACM Transactions on Programming Languages and Systems
  • Adam Betts +6
  • Conference Article
  • Citations11

On-the-fly healing of race conditions in ARINC-653 flight software

  • Oct 01, 2010
  • Ok-Kyoon Ha +3
  • Research Article

DR.FIX: Automatically Fixing Data Races at Industry Scale

  • Jun 10, 2025
  • Proceedings of the ACM on Programming Languages
  • Farnaz Behrang +4
  • Conference Article
  • Citations21

Parallel data race detection for task parallel programs with locks

  • Nov 01, 2016
  • Adarsh Yoga +2
  • Conference Article
  • Citations233

On-the-fly detection of data races for programs with nested fork-join parallelism

  • Jan 01, 1991
  • John Mellor-Crummey
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.