Measuring the dynamic behaviour of AspectJ programs

Author:

Dufour Bruno1,Goard Christopher1,Hendren Laurie1,de Moor Oege2,Sittampalam Ganesh2,Verbrugge Clark1

Affiliation:

1. McGill University

2. Oxford University

Abstract

This paper proposes and implements a rigorous method for studying the dynamic behaviour of AspectJ programs. As part of this methodology several new metrics specific to AspectJ programs are proposed and tools for collecting the relevant metrics are presented. The major tools consist of: (1) a modified version of the AspectJ compiler that tags bytecode instructions with an indication of the cause of their generation, such as a particular feature of AspectJ; and (2) a modified version of the *J dynamic metrics collection tool which is composed of a JVMPI-based trace generator and an analyzer which propagates tags and computes the proposed metrics. This dynamic propagation is essential, and thus this paper contributes not only new metrics, but also non-trivial ways of computing them. We furthermore present a set of benchmarks that exercise a wide range of AspectJ's features, and the metrics that we measured on these benchmarks. The results provide guidance to AspectJ users on how to avoid efficiency pitfalls, to AspectJ implementors on promising areas for future optimization, and to tool builders on ways to understand the runtime behaviour of AspectJ.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference35 articles.

1. André Arnes. Certificate revocations performance simulation project. http://www.pvv.ntnu.no/~andrearn/certrev/sim.html 2000.]] André Arnes. Certificate revocations performance simulation project. http://www.pvv.ntnu.no/~andrearn/certrev/sim.html 2000.]]

2. R. Dale Asberry. Aspect oriented programming (AOP): Using AspectJ to implement and enforce coding standards. http://www.daleasberry.com/newsletters/200210/20021002.shtml 2002.]] R. Dale Asberry. Aspect oriented programming (AOP): Using AspectJ to implement and enforce coding standards. http://www.daleasberry.com/newsletters/200210/20021002.shtml 2002.]]

3. AspectJ Eclipse Home. The AspectJ home page. http://eclipse.org/aspectj/ 2003.]] AspectJ Eclipse Home. The AspectJ home page. http://eclipse.org/aspectj/ 2003.]]

4. Compiling standard ML to Java bytecodes

5. Analyzing the role of aspects in software design

Cited by 11 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Risky Dynamic Typing-related Practices in Python: An Empirical Study;ACM Transactions on Software Engineering and Methodology;2024-06-27

2. Model-Driven Optimization: Towards Performance-Enhancing Low-Level Encodings;2023 ACM/IEEE International Conference on Model Driven Engineering Languages and Systems Companion (MODELS-C);2023-10-01

3. An Empirical Study on Dynamic Typing Related Practices in Python Systems;Proceedings of the 28th International Conference on Program Comprehension;2020-07-13

4. Monitoring open multi-agent systems: An aspect-oriented programming based approach;Multiagent and Grid Systems;2019-07-17

5. A study on the changes of dynamic feature code when fixing bugs: towards the benefits and costs of Python dynamic features;Science China Information Sciences;2017-12-12

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3