Title :
Efficient Aspect Weaver for the .Net Platform
Author :
Felix, Jose Manuel ; Ortin, Francisco
Author_Institution :
Principado de Asturias, Oviedo, Spain
Abstract :
Aspect-oriented programming provides better modularization of applications by encapsulating crosscutting concerns into aspects, solving the code scattering and tangling problems. However, the additional code added to achieve static and dynamic aspect weaving commonly involves runtime performance and memory consumption penalties. Consequently, we propose different techniques to optimize both static and dynamic aspect weaving, implementing those techniques in the .NET platform, which does not support the runtime replacement of class implementations. To evaluate the efficiency of our approach, we measure the execution time and memory consumption of four different aspect-oriented applications. Our platform provides the best performance for both static and dynamic weaving, and its weaving cost is the lowest one. Moreover, the proposed optimizations consume less memory resources than the existing systems providing the closest performance.
Keywords :
aspect-oriented programming; optimisation; .NET platform; aspect weaver; aspect-oriented applications; aspect-oriented programming; code scattering; code tangling problems; crosscutting concerns; dynamic aspect weaving; memory consumption penalties; optimizations; runtime performance; static aspect weaving; Instruments; Java; Media; Memory management; Runtime; Weaving; XML; Net; aspect weaving; aspect-oriented programming; memory consumption; performance optimizations; runtime performance; separation of concerns;
Journal_Title :
Latin America Transactions, IEEE (Revista IEEE America Latina)
DOI :
10.1109/TLA.2015.7112012