Data Race Detection on Compressed Traces

Dileep Kini, Umang Mathur, Mahesh Viswanathan
7/23/2018
cs.PLcs.SE

Official code: umangm/ziptrack (5 stars, Java, MIT, last commit 2019-12-05).

Abstract

We consider the problem of detecting data races in program traces that have been compressed using straight line programs (SLP), which are special context-free grammars that generate exactly one string, namely the trace that they represent. We consider two classical approaches to race detection --- using the happens-before relation and the lockset discipline.

Show full abstract

We present algorithms for both these methods that run in time that is linear in the size of the compressed, SLP representation. Typical program executions almost always exhibit patterns that lead to significant compression. Thus, our algorithms are expected to result in large speedups when compared with analyzing the uncompressed trace. Our experimental evaluation of these new algorithms on standard benchmarks confirms this observation.

View on arXivView PDF

Code Implementations(1)

umangm/ziptrackOfficial100%
MIT

Race Detection on Compressed Traces

54Java, CMay 8, 20186 years agoMIT
compressionprogram-analysisprogramming-languagesrace-detection

Similar Papers

Cite this paper

@article{kini2018data,
  title  = {Data Race Detection on Compressed Traces},
  author = {Dileep Kini and Umang Mathur and Mahesh Viswanathan},
  year   = {2018},
  eprint = {1807.08427},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1807.08427}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1807.08427.svg)](https://codeofpaper.com/paper/1807.08427)

Discussion