Optimization of aspect-instantiation strategies in the JIT-compiler
Zandberg, Martin (2012)
Aspect-instantiation policies define the rules how aspect instances are, looked-up and instantiated. Current aspect-oriented languages implementations are restricted to generating bytecode for realizing the semantics of aspect instantiation. Often however, bytecode is not expressive enough to support the most efficient optimizations. The ALIA4J framework for implementing execution environments with support for aspect-oriented languages allows implementing the semantics of language features in terms of bytecode generation and JIT-compilation. In this thesis a JIT compilation strategy for aspect-instantiation is developed that supports a variety of aspect-instantiation policies, ranging from singleton and per-object policies to per-multiple-object policies. The compilation strategy is benchmarked and its performance is compared to state-of-the-art aspect-oriented language implementations.
MSc_M_Zandberg.pdf