Title :
Transparent Debugging of Dynamically Optimized Code
Author :
Kumar, Naveen ; Childers, Bruce R. ; Soffa, Mary Lou
Author_Institution :
Univ. of Pittsburgh, Pittsburgh, PA
Abstract :
Debugging programs at the source level is essential in the software development cycle. With the growing importance of dynamic optimization, there is a clear need for debugging support in the presence of runtime code transformation. This paper presents a framework, called DeDoc, and lightweight techniques that allow debugging at the source level for programs that have been transformed by a trace-based binary dynamic optimizer. Our techniques provide full transparency and hide from the user the effect of dynamic optimizations on code statements and data values. We describe and evaluate an implementation of DeDoc and its techniques that interface a dynamic optimizer with a native debugger. Our experimental results indicate that DeDoc is able to report over 96% of values, that are otherwise not reportable due to code transformations, and incurs less than 1% performance overhead.
Keywords :
optimising compilers; program debugging; program diagnostics; software prototyping; DeDoc framework; dynamic code optimization; program transformation; runtime code transformation; software development cycle; trace-based binary dynamic optimizer; transparent source level program debugging; Computer bugs; Debugging; Instruments; Java; Operating systems; Optimization methods; Programming; Runtime; Software prototyping; Software systems; Dynamic optimization; binary translation; debugging; software dynamic translation;
Conference_Titel :
Code Generation and Optimization, 2009. CGO 2009. International Symposium on
Conference_Location :
Seattle, WA
Print_ISBN :
978-0-7695-3576-0
DOI :
10.1109/CGO.2009.28