FastTrack: Efficient and Precise Dynamic Race Detection

被引:25
作者
Flanagan, Cormac [1 ]
Freund, Stephen N. [2 ]
机构
[1] Univ Calif Santa Cruz, Dept Comp Sci, Santa Cruz, CA 95064 USA
[2] Williams Coll, Dept Comp Sci, Williamstown, MA 01267 USA
基金
美国国家科学基金会;
关键词
Compendex;
D O I
10.1145/1839676.1839699
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Multithreaded programs are notoriously prone to race conditions Prior work developed precise dynamic race detectors that never report false alarms However, these checkers employ expensive data structures, such as vector clocks (VCs), that result in significant performance overhead This paper exploits the insight that the full generality of VCs is not necessary in most cases That is, we can replace VCs with an adaptive lightweight representation that, for almost all operations of the target program, requires constant space and supports constant time operations Experimental results show that the resulting race detection algorithm is over twice as fast as prior precise race detectors, with no loss of precision
引用
收藏
页码:93 / 101
页数:9
相关论文
共 22 条
[1]  
ADVE SV, 1991, ISCA, P234
[2]  
*CERN, 2007, COLT 1 2 0
[3]  
Choi J.-D., 2002, PROGRAMMING LANGUAGE, P258
[4]   TECHNIQUES FOR DEBUGGING PARALLEL PROGRAMS WITH FLOWBACK ANALYSIS [J].
CHOI, JD ;
MILLER, BP ;
NETZER, RHB .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1991, 13 (04) :491-530
[5]  
Christiaens M, 2001, LECT NOTES COMPUT SC, V2074, P761
[6]  
*ECL, ECL PROGR ENV VERS 3
[7]   Goldilocks: A Race and Transaction-Aware Java']Java Runtime [J].
Elmas, Tayfun ;
Qadeer, Shaz ;
Tasiran, Serdar .
PLDI'07: PROCEEDINGS OF THE 2007 ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2007, :245-255
[8]   Adversarial Memory for Detecting Destructive Races [J].
Flanagan, Cormac ;
Freund, Stephen N. .
PLDI '10: PROCEEDINGS OF THE 2010 ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2010, :244-254
[9]   FastTrack: Efficient and Precise Dynamic Race Detection [J].
Flanagan, Cormac ;
Freund, Stephen N. .
PLDI'09 PROCEEDINGS OF THE 2009 ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2009, :121-133
[10]  
Flann C., 2010, Addressing global change: a new agenda for botanic gardens. Fourth Global Botanic Gardens Congress, Dublin, Irish Republic, 13-18 June 2010, P1, DOI 10.1145/1806672.1806674