Transparent Debugging of Dynamically Optimized Code

被引:1
|
作者
Kumar, Naveen [1 ]
Childers, Bruce R. [1 ]
Soffa, Mary Lou [2 ]
机构
[1] Univ Pittsburgh, Pittsburgh, PA 15260 USA
[2] Univ Virginia, Charlottesville, VA USA
关键词
D O I
10.1109/CGO.2009.28
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:275 / +
页数:2
相关论文
共 50 条
  • [1] SYMBOLIC DEBUGGING OF OPTIMIZED CODE
    HENNESSY, J
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1982, 4 (03): : 323 - 344
  • [2] DEBUGGING OPTIMIZED CODE WITH DYNAMIC DEOPTIMIZATION
    HOLZLE, U
    CHAMBERS, C
    UNGAR, D
    SIGPLAN NOTICES, 1992, 27 (07): : 32 - 43
  • [3] A NEW APPROACH TO DEBUGGING OPTIMIZED CODE
    BROOKS, G
    HANSEN, GJ
    SIMMONS, S
    SIGPLAN NOTICES, 1992, 27 (07): : 1 - 11
  • [4] SYMBOLIC DEBUGGING OF OPTIMIZED CODE - NOTE
    WALL, D
    SRIVASTAVA, A
    TEMPLIN, F
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1985, 7 (01): : 176 - 181
  • [5] A new framework for debugging globally optimized code
    Wu, LC
    Mirani, R
    Patil, H
    Olsen, B
    Hwu, WMW
    ACM SIGPLAN NOTICES, 1999, 34 (05) : 181 - 191
  • [6] SYMBOLIC DEBUGGING OF OPTIMIZED CODE - A FURTHER NOTE
    COPPERMAN, M
    MCDOWELL, CE
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1993, 15 (02): : 357 - 365
  • [7] DEBUGGING OPTIMIZED CODE WITHOUT BEING MISLED
    COPPERMAN, M
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1994, 16 (03): : 387 - 427
  • [8] Comparison checking: An approach to avoid debugging of optimized code
    Jaramillo, C
    Gupta, R
    Soffa, ML
    SOFTWARE ENGINEERING - ESEC/FSE '99, PROCEEDINGS, 1999, 1687 : 268 - 284
  • [9] Source-level debugging of scalar optimized code
    AdlTabatabai, AR
    Gross, T
    ACM SIGPLAN NOTICES, 1996, 31 (05) : 33 - 43