Restructuring Parallel Programs for On-the-Fly Race Detection

  • Authors:
  • Young-Cheol Kim;Yong-Kee Jun

  • Affiliations:
  • -;-

  • Venue:
  • PaCT '999 Proceedings of the 5th International Conference on Parallel Computing Technologies
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

Detecting races is important for debugging explicit sharedmemory parallel programs, because the races result in unintended nondeterministic executions of the programs. Previous on-the-fly techniques to detect races in parallel programs with inter-thread coordination show serious space overhead in two components of complexity, and can not guarantee that, in an execution instance, the race detected first is not preceded by accesses that also participate in a race. This paper presents a program restructuring technique for on-the-fly race detection, which results in a serializable program preserving the semantics of original program. Monitoring an execution of the restructured program can detect the first races in the original program, eliminating one component of the space complexity.