Title :
Aspect-Aware Points-to Analysis
Author :
Sun, Qiang ; Zhao, Jianjun
Author_Institution :
Dept. of Comput. Sci., Shanghai Jiao Tong Univ., Shanghai
Abstract :
Points-to analysis is a fundamental analysis technique whose results are useful in compiler optimization and software engineering tools. Although many points-to analysis algorithms have been proposed for procedural and object-oriented languages like C and Java, there is no points-to analysis for aspect-oriented languages so far. Based on Andersen-style points-to analysis for Java, we propose flow- and context-insensitive points-to analysis for AspectJ. The main idea is to perform the analysis crossing the boundary between aspects and classes. Therefore, our technique is able to handle the uniqueaspectual features. To investigate the effectiveness of our technique, we implement our analysis approach on top of the ajc AspectJ compiler and evaluate it on nine AspectJ benchmarks. The experimental result indicates that, compared to existing Java approaches, the proposed technique can achieve a significant higher precision and run in practical time and space.
Keywords :
object-oriented languages; program compilers; AspectJ compiler; Java; aspect-aware points-to analysis algorithm; aspect-oriented languages; compiler optimization; context-insensitive points-to analysis; flow-insensitive points-to analysis; software engineering tools; Algorithm design and analysis; Computer science; Information analysis; Java; Optimizing compilers; Performance analysis; Program processors; Software design; Software engineering; Sun; AspectJ; Compiler optimization; Points-to analysis;
Conference_Titel :
Source Code Analysis and Manipulation, 2008 Eighth IEEE International Working Conference on
Conference_Location :
Beijing
Print_ISBN :
978-0-7695-3353-7
DOI :
10.1109/SCAM.2008.30