Efficient and precise datarace detection for multithreaded object-oriented programs

被引:98
作者
Choi, JD [1 ]
Lee, KW
Loginov, A
O'Callahan, R
Sarkar, V
Sridharan, M
机构
[1] IBM Corp, Thomas J Watson Res Ctr, Yorktown Hts, NY 10598 USA
[2] Univ Washington, Seattle, WA 98195 USA
[3] Univ Wisconsin, Madison, WI 53706 USA
[4] MIT, Cambridge, MA 02139 USA
关键词
experimentation; languages; measurement; performance; dataraces; race conditions; debugging; parallel programs; synchronization; multithreaded programming; object-oriented programming; static-dynamic co-analysis;
D O I
10.1145/543552.512560
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present a novel approach to dynamic datarace detection for multithreaded object-oriented programs. Past techniques for on-the-fly datarace detection either sacrificed precision for performance, leading to many false positive datarace reports, or maintained precision but incurred significant overheads in the range of 3x to 30x. In contrast, our approach results in very few false positives and runtime overhead in the 13% to 42% range, making it both efficient and precise. This performance improvement is the result of a unique combination of complementary static and dynamic optimization techniques.
引用
收藏
页码:258 / 269
页数:12
相关论文
共 27 条
[11]  
CHOI JD, 1991, P 3 ACM SIGPLAN S PR
[12]  
CHRISTIAENS M, 2001, P JAV VIRT MACH RES
[13]  
DINNING A, 1991, SIGPLAN NOTICES, V26, P85, DOI 10.1145/127695.122767
[14]  
Flanagan Cormac., 2000, Proceedings of the ACM SIGPLAN 2000 Conference on Programming Language Design and Implementation, PLDI '00, P219, DOI [DOI 10.1145/358438.349328, 10.1145/349299.349328, DOI 10.1145/349299.349328]
[15]   TRIE MEMORY [J].
FREDKIN, E .
COMMUNICATIONS OF THE ACM, 1960, 3 (09) :490-499
[16]  
*KL GROUP, GETT START JPROB
[17]  
*KUCK ASS INC, 1999, ASS US MAN 2 0 ED
[18]  
MIN SL, 1991, P 4 INT C ARCH SUPP
[19]   What are race conditions? Some issues and formalizations [J].
Netzer, Robert H.B. ;
Miller, Barton P. .
ACM letters on programming languages and systems, 1992, 1 (01) :74-88
[20]  
Richards B., 1998, Proceedings of the SIGMETRICS Symposium on Parallel and Distributed Tools, P40, DOI 10.1145/281035.281040