Adaptation of legacy codes to context-aware composition using aspect-oriented programming

作者: Antonina Danylenko , Welf Löwe

DOI: 10.1007/978-3-642-30564-1_5

关键词: Computer scienceDistributed computingExecution timeProfiling (computer programming)ReuseAspect-oriented programmingLegacy codeLegacy system

摘要: The context-aware composition approach (CAC) has shown to improve the performance of object-oriented applications on modern multi-core hardware by selecting between different (sequential and parallel) component variants in (call hardware) contexts. However, introducing CAC legacy can be time-consuming requires quite some effort for changing adapting existing code. We observe that CAC-concerns, like offline variant profiling runtime selection champion variant, separated from application suggest separating reusing these concerns when applications. For automating this process, we propose an based Aspect-Oriented Programming (AOP) Reflective Programming. It shows manual adaptation more programming than AOP-based approach; almost three times our experiments. Moreover, speeds up execution time code, experiments factors 2.3 3.4 machines with two eight cores, respectively. AOP only introduces a small overhead compared manually optimized approach. For problems, is about 2-9% approach. These results effectively adapt which makes them running efficiently even machines.

参考文章(39)
Michael Voss, Marek Olszewski, Install-Time System for Automatic Generation of Optimized Parallel Sorting Algorithms. parallel and distributed processing techniques and applications. pp. 17- 23 ,(2004)
Alfred Strohmeier, Jörg Kienzle, Mohamed Mancona Kandé, From AOP to UML - A Bottom-Up Approach AOSD"2002 Workshop on Aspect-Oriented Modeling with UML, Enschede, The Netherlands, April 2002. ,(2002)
Alfred Strohmeier, Jörg Kienzle, Mohamed Mancona Kandé, From AOP to UML: Towards an Aspect-Oriented Architectural Modeling Approach the Second International Workshop on Aspect-Oriented Modeling with UML, in conjunction with the Fifth International Conference on the Unified Modeling Language - the Language and its Applications (UML2002), September 30 - October 4, 2002, Dresden, Germany. ,(2002)
Christoph W. Kessler, Welf Löwe, A Framework for Performance-aware Composition of Explicitly Parallel Components parallel computing. pp. 227- 234 ,(2007)
Richard Helm, John Vlissides, Ralph Johnson, Erich Gamma, Design Patterns: Elements of Reusable Object-Oriented Software ,(1994)
L. Baresi, D. Bianchini, V. De Antonellis, M. G. Fugini, B. Pernici, P. Plebani, Context-aware Composition of E-Services Lecture Notes in Computer Science. ,vol. 2819, pp. 28- 41 ,(2003) , 10.1007/978-3-540-39406-8_3
Antonina Danylenko, Christoph Kessler, Welf Löwe, Comparing Machine Learning Approaches for Context-Aware Composition Software Composition. ,vol. 6708, pp. 18- 33 ,(2011) , 10.1007/978-3-642-22045-6_2
C. Kessler, W. Löwe, Optimized composition of performance-aware parallel components Concurrency and Computation: Practice and Experience. ,vol. 24, pp. 481- 498 ,(2012) , 10.1002/CPE.1844
Jesper Andersson, Morgan Ericsson, Christoph Kessler, Welf Löwe, Profile-guided composition SC'08 Proceedings of the 7th international conference on Software composition. pp. 157- 164 ,(2008) , 10.1007/978-3-540-78789-1_12
R. Clint Whaley, Antoine Petitet, Jack J. Dongarra, New trends in high performance computing ieee international conference on high performance computing data and analytics. ,vol. 27, pp. 3- 35 ,(2001) , 10.1016/S0167-8191(00)00087-9