COMPILE-TIME ANALYSIS OF OBJECT-ORIENTED PROGRAMS

被引:0
作者
VITEK, J
HORSPOOL, RN
UHL, JS
机构
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Generation of efficient code for object-oriented programs requires knowledge of object lifetimes and method bindings. For object-oriented languages that have automatic storage management and dynamic look-up of methods, the compiler must obtain such knowledge by performing static analysis of the source code. We present an analysis algorithm which discovers the potential classes of each object in an object-oriented program as well as a safe approximation of their lifetimes. These results are obtained using abstract domains that approximate memory configurations and interprocedural call patterns of the program. We present several alternatives for these abstract domains that permit a trade-off between accuracy and complexity of the overall analysis.
引用
收藏
页码:236 / 250
页数:15
相关论文
共 13 条
[1]  
Aho A. V., 1986, COMPILERS PRINCIPLES
[2]  
[Anonymous], 1983, SMALLTALK 80 LANGUAG
[3]  
CHASE DR, 1990, SIGPLAN 90 C PROGRAM
[4]  
COUSOT P, 1977, 4TH C REC ACM S PRIN
[5]  
HARRISON L, 1989, CSRD860 U ILL TECHN
[6]  
HENSE AV, 1991, A0691 U SAARL TECHN
[7]  
HORSPOOL RN, 1992, P INT C COMPUTER LAN
[8]  
HUDAK P, 1987, ABSTRACT INTERPRETAT
[9]  
JOHNSON RE, 1986, OOPSLA 86 C P
[10]  
PALSBERG J, 1991, OOPSLA 91 C P