Recording Shared Memory Dependencies Using Strata

Satish Narayanasamy, Cristiano Pereira, and Brad Calder

12th International Conference on Architectural Support for Programming Languages and Operating Systems, October 2006.

Abstract:

Significant time is spent by companies trying to reproduce and fix bugs. BugNet and FDR are recent architecture proposals that provide architecture support for deterministic replay debugging. They focus on continuously recording information about the program's execution, which can be communicated back to the developer. Using that information, the developer can deterministically replay the program's execution to reproduce and fix the bugs.

In this paper, we propose using the strata to efficiently capture the shared memory dependencies. A stratum creates a time layer across all the logs for the running threads, which separates all the memory operations executed before and after the stratum. A strata log allows us to determine all the shared memory dependencies during replay and thereby supports deterministic replay debugging for multi-threaded programs.