DocumentCode :
2702632
Title :
Race analysis of traces of asynchronous message-passing programs
Author :
Tai, Kuo-Chung
Author_Institution :
Dept. of Comput. Sci., North Carolina State Univ., Raleigh, NC, USA
fYear :
1997
fDate :
27-30 May 1997
Firstpage :
261
Lastpage :
268
Abstract :
An execution of a message-passing program is nondeterministic if message races exist. In this paper, a formal definition of a message race for asynchronous communication is presented. The trace of an execution of a message-passing program is a sequence of send and receive events. For a receive event r in a trace T, its race set is the set of messages in T that have a race with the message received at r and can be received at r during some possible executions of the same program with the same input. A race analysis algorithm analyzes a trace to determine the race set for each receive event in the trace. Three race analysis algorithms are given for three different types of sequences of send and receive events. It is shown that these race analysis algorithms can be used to solve a number of problems in testing and debugging message-passing programs
Keywords :
message passing; program debugging; program diagnostics; program testing; asynchronous communication; asynchronous message-passing programs; message races; nondeterministic execution; program debugging; program testing; race analysis; race set; receive event; send event; trace analysis; Algorithm design and analysis; Asynchronous communication; Computer science; Debugging; Fault detection; Testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Distributed Computing Systems, 1997., Proceedings of the 17th International Conference on
Conference_Location :
Baltimore, MD
ISSN :
1063-6927
Print_ISBN :
0-8186-7813-5
Type :
conf
DOI :
10.1109/ICDCS.1997.598047
Filename :
598047
Link To Document :
بازگشت