Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
Optimal Tracing and Replay for Debugging Shared-Memory Parallel ProgramsApril 1993
1993 Technical Report
Publisher:
  • Brown University
  • Department of Computer Science Box 1910 Providence, RI
  • United States
Published:01 April 1993
Reflects downloads up to 15 Oct 2024Bibliometrics
Skip Abstract Section
Abstract

Execution replay is a crucial part of debugging. Because explicitly parallel shared-memory programs can be nondeterministic, a tool is required that traces executions so they can be replayed for debugging. We present an adaptive tracing strategy that is optimal and records the minimal number of shared-memory references required to exactly replay executions. Our algorithm makes run-time tracing decisions by detecting and tracing a certain type of race condition on-the-fly. Unlike past schemes, we make no assumptions about the execution''s correctness (it need not be race free). Experiments show that only 0.01 - 2 order of magnitude reduction over past techniques which trace every access.

Contributors
  • Brown University

Recommendations