English

Data Race Prediction for Inaccurate Traces

Programming Languages 2019-10-29 v2

Abstract

Happens-before based data race prediction methods infer from a trace of events a partial order to check if one event happens before another event. If two two write events are unordered, they are in a race. We observe that common tracing methods provide no guarantee that the trace order corresponds to an actual program run. The consequence of inaccurate tracing is that results (races) reported are inaccurate. We introduce diagnostic methods to examine if (1) a race is guaranteed to be correct regardless of any potential inaccuracies, (2) maybe is incorrect due to inaccurate tracing. We have fully implemented the approach and provide for an empirical comparison with state of the art happens-before based race predictors such as FastTrack and SHB.

Keywords

Cite

@article{arxiv.1905.10855,
  title  = {Data Race Prediction for Inaccurate Traces},
  author = {Martin Sulzmann and Kai Stadtmüller},
  journal= {arXiv preprint arXiv:1905.10855},
  year   = {2019}
}

Comments

26 pages with appendix

R2 v1 2026-06-23T09:24:59.680Z