D4: fast concurrency debugging with parallel differential analysis

  • Liu B
  • Huang J
N/ACitations
Citations of this article
7Readers
Mendeley users who have this article in their library.

Abstract

We present D4, a fast concurrency analysis framework that detects concurrency bugs (e.g., data races and deadlocks) interactively in the programming phase. As developers add, modify, and remove statements, the code changes are sent to D4 to detect concurrency bugs in real time, which in turn provides immediate feedback to the developer of the new bugs. The cornerstone of D4 includes a novel system design and two novel parallel differential algorithms that embrace both change and parallelization for fundamental static analyses of concurrent programs. Both algorithms react to program changes by memoizing the analysis results and only recomputing the impact of a change in parallel. Our evaluation on an extensive collection of large real-world applications shows that D4 efficiently pinpoints concurrency bugs within 100ms on average after a code change, several orders of magnitude faster than both the exhaustive analysis and the state-of-the-art incremental techniques.

Cite

CITATION STYLE

APA

Liu, B., & Huang, J. (2018). D4: fast concurrency debugging with parallel differential analysis. ACM SIGPLAN Notices, 53(4), 359–373. https://doi.org/10.1145/3296979.3192390

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free