The search functionality is under construction.

IEICE TRANSACTIONS on Information

DRDet: Efficiently Making Data Races Deterministic

Chen CHEN, Kai LU, Xiaoping WANG, Xu ZHOU, Zhendong WU

  • Full Text Views

    0

  • Cite this

Summary :

Strongly deterministic multithreading provides determinism for multithreaded programs even in the presence of data races. A common way to guarantee determinism for data races is to isolate threads by buffering shared memory accesses. Unfortunately, buffering all shared accesses is prohibitively costly. We propose an approach called DRDet to efficiently make data races deterministic. DRDet leverages the insight that, instead of buffering all shared memory accesses, it is sufficient to only buffer memory accesses involving data races. DRDet uses a sound data-race detector to detect all potential data races. These potential data races, along with all accesses which may access the same set of memory objects, are flagged as data-race-involved accesses. Unsurprisingly, the imprecision of static analyses makes a large fraction of shared accesses to be data-race-involved. DRDet employs two optimizations which aim at reducing the number of accesses to be sent to query alias analysis. We implement DRDet on CoreDet, a state-of-the-art deterministic multithreading system. Our empirical evaluation shows that DRDet reduces the overhead of CoreDet by an average of 1.6X, without weakening determinism and scalability.

Publication
IEICE TRANSACTIONS on Information Vol.E97-D No.10 pp.2676-2684
Publication Date
2014/10/01
Publicized
Online ISSN
1745-1361
DOI
10.1587/transinf.2014EDP7067
Type of Manuscript
PAPER
Category
Software Engineering

Authors

Chen CHEN
  National University of Defense Technology
Kai LU
  National University of Defense Technology
Xiaoping WANG
  National University of Defense Technology
Xu ZHOU
  National University of Defense Technology
Zhendong WU
  National University of Defense Technology

Keyword