Campus Units

Computer Science

Document Type

Article

Publication Version

Accepted Manuscript

Publication Date

8-2010

Journal or Book Title

ACM Transactions on Software Engineering and Methodology

Volume

20

Issue

2

First Page

7:1

Last Page

7:34

DOI

10.1145/1824760.1824764

Abstract

Dynamic aspect-oriented (AO) features have important software engineering benefits such as allowing unanticipated software evolution and maintenance. It is thus important to efficiently support these features in language implementations. Current implementations incur unnecessary design-time and runtime overhead due to the lack of support in underlying intermediate language (IL) models. To address this problem, we present a flexible and dynamic IL model that we call Nu. The Nu model provides a higher level of abstraction compared to traditional object-oriented ILs, making it easier to efficiently support dynamic AO features. We demonstrate these benefits by providing an industrial-strength VM implementation for Nu, by showing translation strategies from dynamic source-level constructs to Nu and by analyzing the performance of the resulting IL code.

Nu's VM extends the Sun Hotspot VM interpreter and uses a novel caching mechanism to significantly reduce the amortized costs of join point dispatch. Our evaluation using standard benchmarks shows that the overhead of supporting a dynamic deployment model can be reduced to as little as ˜1.5%. Nu provides an improved compilation target for dynamic deployment features, which makes it easier to support such features with corresponding software engineering benefits in software evolution and maintenance and in runtime verification.

Comments

This article is published as Dyer, Robert, and Hridesh Rajan. "Supporting dynamic aspect-oriented features." ACM Transactions on Software Engineering and Methodology (TOSEM) 20, no. 2 (2010): 7. DOI: 10.1145/1824760.1824764. Posted with permission.

Rights

© ACM, 2010 This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. The definitive version was published in ACM Transactions on Software Engineering and Methodology (TOSEM) 20, no. 2 (2010): 7. https://doi.org/10.1145/1824760.1824764

Copyright Owner

ACM

Language

en

File Format

application/pdf

Published Version

Share

COinS