Affiliation:
1. University of Lugano, Lugano, Switzerland
Abstract
Developing tools for profiling, debugging, testing, and reverse engineering is error-prone, time-consuming, and therefore costly when using low-level techniques, such as bytecode instrumentation. As a solution to these problems, we promote tool development in Java using high-level aspect-oriented programming (AOP). We demonstrate that the use of aspects yields compact tools that are easy to develop and extend. As enabling technology, we rely on HotWave, a new tool for dynamic and comprehensive aspect weaving. HotWave reconciles compatibility with existing virtual machine and AOP technologies. It provides support for runtime adaptation of aspects and reweaving of previously loaded code, as well as the ability to weave aspects into all methods executing in a Java Virtual Machine, including methods in the standard Java class library. HotWave also features a new mechanism for efficiently passing data between advices that are woven into the same method. We demonstrate the benefits of HotWave's distinguishing features with two case studies in the area of profiling.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference34 articles.
1. Adding trace matching with free variables to AspectJ
2. Exploiting hardware performance counters with flow and context sensitive profiling
3. SCoPE
4. S.
Artzi S.
Kim and
M. D.
Ernst
.
ReCrash: Making Software Failures Reproducible by Preserving Object States
. In J. Vitek editor ECOOP '08: Proceedings of the 22th European Conference on Object-Oriented Programming volume
5142
of
Lecture Notes in Computer Science pages
542
--
565 Paphos Cyprus 2008
.
Springer-Verlag
. 10.1007/978-3-540-70592-5_23 S. Artzi S. Kim and M. D. Ernst. ReCrash: Making Software Failures Reproducible by Preserving Object States. In J. Vitek editor ECOOP '08: Proceedings of the 22th European Conference on Object-Oriented Programming volume 5142 of Lecture Notes in Computer Science pages 542--565 Paphos Cyprus 2008. Springer-Verlag. 10.1007/978-3-540-70592-5_23
5. Optimising aspectJ
Cited by
8 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献