DocumentCode :
3209001
Title :
Efficient reachability testing of asynchronous message-passing programs
Author :
Lei, Yu ; Tai, Kuo-Chung
Author_Institution :
Dept. of Comput. Sci. & Eng., Texas Univ., Arlington, TX, USA
fYear :
2002
fDate :
2-4 Dec. 2002
Firstpage :
35
Lastpage :
44
Abstract :
An asynchronous message-passing program P is nondeterministic. Given the same input, multiple executions of P may exercise different send/receive event sequences (or SR-sequences) and may even produce different results. Such nondeterminacy makes it difficult to determine the correctness of P. Let X be an input of P. Assume that any execution of P with X terminates. Reachability testing of P with X is to execute, in a systematic manner, all possible SR-sequences of P with X such that the correctness of P with X can be determined. The basic idea of reachability testing is described as follows. We first execute P with X nondeterministically to collect one or more SR-sequences. For each collected SR-sequence, we analyze its race conditions and generate race variants, which are prefixes of other SR-sequences. We replay race variants to generate new SR-sequences. For each new SR-sequence, we repeat the same process until we eventually execute all possible SR-sequences of P with X. We describe an efficient implementation of reachability testing of asynchronous message-passing programs. Our technique deals with partially-ordered SR-sequences and reduces the complexity and redundancy caused by totally-ordered SR-sequences.
Keywords :
hazards and race conditions; message passing; parallel programming; program testing; reachability analysis; asynchronous message-passing programs; complexity; nondeterministic program; partially-ordered SR-sequences; race conditions; race variants; reachability testing; redundancy; send receive event sequences; totally-ordered SR-sequences; Character generation; Chromium; Testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Engineering of Complex Computer Systems, 2002. Proceedings. Eighth IEEE International Conference on
Conference_Location :
Greenbelt, MD, USA
Print_ISBN :
0-7695-1757-9
Type :
conf
DOI :
10.1109/ICECCS.2002.1181496
Filename :
1181496
Link To Document :
بازگشت