OBJ-D:An Object-centric Concurrency Bug Detection Framework for Java

WANG Di,YANG Min,ZHOU Xi
DOI: https://doi.org/10.3969/j.issn.1000-1220.2013.06.019
2013-01-01
Abstract:Due to the complexity of concurrent programming and the non-determinism in multithreaded applications,concurrency bugs are easy to create but very hard to locate and fix.Invariant-based concurrency bug detection tools are proposed to address this problem,which diagnose concurrency bugs by learning invariants in applications and detecting the violations to invariants when concurrency bugs occur.However,start-of-the-art detectors can′t capture multi-variable bugs because they record interleavings upon single variable.This paper proposes an object-level invariant-based concurrency bug detector,OBJ-D,for Java applications.By recording the interleavings upon objects,OBJ-D can analyze the data dependencies of correlated variables together.Our results show that OBJ-D can detect both single-and multi-variable concurrency bugs in Java applications,while introducing little false positives.
What problem does this paper attempt to address?