DocumentCode :
1415159
Title :
A protocol-centric approach to on-the-fly race detection
Author :
Perkovic, Dejan ; Keleher, Peter J.
Author_Institution :
Dept. of Comput. Sci., Maryland Univ., Baltimore, MD, USA
Volume :
11
Issue :
10
fYear :
2000
fDate :
10/1/2000 12:00:00 AM
Firstpage :
1058
Lastpage :
1072
Abstract :
We present the design and evaluation of a new data-race-detection technique. Our technique executes at runtime rather than post-mortem, and handles unmodified shared-memory applications that run on top of CVM, a software distributed shared memory system. We do not assume explicit associations between synchronization and shared data, and require neither compiler support nor program source. Instead, we use a binary code re-writer to instrument instructions that may access shared memory. The most novel aspect of our system is that we are able to use information from the underlying memory system implementation in order to reduce the number of comparisons made at runtime. We present an experimental evaluation of our techniques by using our system to look for data races in five common shared-memory programs. We quantify the effect of several optimizations to the basic technique: data flow analysis, instrumentation batching, runtime code modification, and instrumentation inlining. Our system correctly found races in three of the five programs, including two from a standard benchmark suite. The slowdown of this debugging technique averages less than 2.5 for our applications.
Keywords :
distributed shared memory systems; hazards and race conditions; binary code re-writer; data-race-detection; debugging technique; protocol-centric approach; race detection; runtime; shared-memory; software distributed shared memory system; Application software; Binary codes; Computer Society; Computer bugs; Data analysis; Debugging; Instruments; Program processors; Protocols; Runtime;
fLanguage :
English
Journal_Title :
Parallel and Distributed Systems, IEEE Transactions on
Publisher :
ieee
ISSN :
1045-9219
Type :
jour
DOI :
10.1109/71.888645
Filename :
888645
Link To Document :
بازگشت