DocumentCode :
660539
Title :
Efficient data race prediction with incremental reasoning on time-stamped lock history
Author :
Ganai, Malay K.
Author_Institution :
NEC Labs. America, Princeton, NJ, USA
fYear :
2013
fDate :
11-15 Nov. 2013
Firstpage :
37
Lastpage :
47
Abstract :
We present an efficient data race prediction algorithm that uses lock-reordering based incremental search on time-stamped lock histories for solving multiple races effectively. We balance prediction accuracy, coverage, and performance with a specially designed pairwise reachability algorithm that can store and re-use past search results, thereby, amortizing the cost of reasoning over redundant and overlapping search space. Compared to graph-based search algorithms, our algorithm incurs much smaller overhead due to amortization, and can potentially be used while a program under test is executing. To demonstrate such a possibility, we implemented our approach as an incremental Predictive Analysis (iPA) module in a predictive testing framework. Our approach can handle traces with a few hundreds to half a million events, and predict known/unknown real data races with a performance penalty of less than 4% in addition to what is incurred by runtime race detectors.
Keywords :
multi-threading; prediction theory; program debugging; program testing; reachability analysis; reasoning about programs; redundancy; search problems; software reliability; amortization; efficient data race prediction algorithm; iPA module; incremental predictive analysis; incremental reasoning; lock reordering based incremental search; multi-threaded programs; overlapping search space; pairwise reachability algorithm; predictive testing; program under test execution; redundant search space; runtime race detector; time stamped lock history; Accuracy; Cognition; History; Instruction sets; Synchronization; Testing; Vectors;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Automated Software Engineering (ASE), 2013 IEEE/ACM 28th International Conference on
Conference_Location :
Silicon Valley, CA
Type :
conf
DOI :
10.1109/ASE.2013.6693064
Filename :
6693064
Link To Document :
بازگشت