ComputingComputer ScienceCompilersProgramming LanguagesSoftware EngineeringAbstract InterpretationAbstract Syntax TreesApplication Programming InterfacesCompiler ConstructionData-flow AnalysisSoftware ConstructionAspect-oriented ProgrammingCompile-time OptimizationLanguage SemanticsRuntime Specialization
This paper describes the implementation of advice weaving in AspectJ. The AspectJ language picks out dynamic join points in a program's execution with pointcuts and uses advice to change the behavior at those join points. The core task of AspectJ's advice weaver is to statically transform a program so that at runtime it will behave according to the AspeetJ language semantics. This paper describes the 1.1 implementation which is based on transforming bytecode. We describe how AspectJ's join points are mapped to regions of bytecode, how these regions are efficiently matched by AspectJ's pointcuts, and how pieces of advice are efficiently implemented at these regions. We also discuss both run-time and compile-time performance of this implementation.
7
Gregor Kiczales, Erik Hilsdale, Jim Hugunin et al. · Communications of the ACM · 2001 · 540 citations · Full text
Harold Ossher, Peri Tarr · 2000 · 213 citations · Full text
Andrei Popovici, Gustavo Alonso · 2003 · 168 citations
An Easy-to-Use Toolkit for Efficient Java Bytecode Translators
2003 · 129 citations