Journal article

Title:
Introduction to Dynamic Program Analysis with DiSL
Authors:
Lukáš Marek, Yudi Zheng, Danilo Ansaloni, Lubomír Bulej, Aibek Sarimbekov, Walter Binder, Petr Tůma
Publication:
Science of Computer Programming
DOI:
Year:
2015
Link:

Abstract:
Dynamic program analysis (DPA) tools assist in many software engineering and development tasks, such as profiling, program comprehension, and performance model construction and calibration. On the Java platform, many DPA tools are implemented either using aspect-oriented programming (AOP), or rely on bytecode instrumentation to modify the base program code. The pointcut/advice model found in AOP enables rapid tool development, but does not allow expressing certain instrumentations due to limitations of mainstream AOP languages—developers thus use bytecode manipulation to gain more expressiveness and performance. However, while the existing bytecode manipulation libraries handle some low-level details, they still make tool development tedious and error-prone. Targeting this issue, we provide the first complete presentation of DiSL, an open-source instrumentation framework that reconciles the conciseness of the AOP pointcut/advice model and the expressiveness and performance achievable with bytecode manipulation libraries. Specifically, we extend our previous work to provide an overview of the DiSL architecture, advanced features, and the programming model. We also include case studies illustrating successful deployment of DiSL-based DPA tools.

BibTeX:
@article{marek_introduction_2015,
    title = {{Introduction to Dynamic Program Analysis with DiSL}},
    author = {Marek, Lukáš and Zheng, Yudi and Ansaloni, Danilo and Bulej, Lubomír and Sarimbekov, Aibek and Binder, Walter and Tůma, Petr},
    year = {2015},
    journal = {{Science of Computer Programming}},
    doi = {10.1016/j.scico.2014.01.003},
    issn = {0167-6423},
    pages = {100--115},
    url = {http://www.sciencedirect.com/science/article/pii/S0167642314000070},
    volume = {98, Part 1},
}