Race Analysis of Traces of Asynchronous Message-Passing Programs

  • Authors:
  • Kuo-Chung Tai

  • Affiliations:
  • -

  • Venue:
  • ICDCS '97 Proceedings of the 17th International Conference on Distributed Computing Systems (ICDCS '97)
  • Year:
  • 1997

Quantified Score

Hi-index 0.00

Visualization

Abstract

An execution of a message-passing program is nondeterministic tf 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 dtgerent types of sequences of send and receive events. It is shown that these race analysis aIgorithms can be used to solve a number of problems in testing and debugging message-passing programs.