Optimal Instrumentation of Data-flow in Concurrent Data Structures

Title Optimal Instrumentation of Data-flow in Concurrent Data Structures
Author
Keywords
Abstract

In this paper, we propose an automated technique for optimal instrumentation of multi-threaded programs for debugging and testing of concurrent data structures. We define a notion of observability that enables debuggers to trace back and locate errors through data-flow instrumentation. Observability in a concurrent program enables a debugger to extract the value of a set of desired variables through instrumenting another (possibly smaller) set of variables. We formulate an optimization problem that aims at minimizing the size of the latter set. In order to cope with the exponential complexity of the problem, we present a SAT-based solution. Our approach is fully implemented and experimental results on popular concurrent data structures (e.g., linked lists and red-black trees) show significant performance improvement in optimally-instrumented programs using our method as compared to ad-hoc over-instrumented programs.

Year of Publication
2011
Conference Name
Proc. of the 15th International Conference On Principles Of Distributed Systems (OPODIS)
Date Published
December
Conference Location
Toulouse, France
URL
http://www.springerlink.com/content/dh336633w17613jp/
DOI
10.1007/978-3-642-25873-2_34
Download citation