Reconciling responsiveness with performance in pure object-oriented languages

被引:46
作者
Holzle, U [1 ]
Ungar, D [1 ]
机构
[1] SUN MICROSYST LABS,MT VIEW,CA 94043
来源
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS | 1996年 / 18卷 / 04期
关键词
adaptive optimization; pause clustering; profile-based optimization; run-time compilation; type feedback;
D O I
10.1145/233561.233562
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Dynamically dispatched calls often limit the performance of object-oriented programs, since object-oriented programming encourages factoring code into small, reusable units, thereby increasing the frequency of these expensive operations. Frequent calls not only slow down execution with the dispatch overhead per se, but more importantly they hinder optimization by limiting the range and effectiveness of standard global optimizations. In particular, dynamically dispatched calls prevent standard interprocedural optimizations that depend on the availability of a static call graph. The SELF implementation described here offers two novel approaches to optimization. Type feedback speculatively inlines dynamically dispatched calls based on profile information that predicts likely receiver classes. Adaptive optimization reconciles optimizing compilation with interactive performance by incrementally optimizing only the frequently executed parts of a program. When combined, these two techniques result in a system that can execute programs significantly faster than previous systems while retaining much of the interactiveness of an interpreted system.
引用
收藏
页码:355 / 400
页数:46
相关论文
共 48 条
[31]  
IRLAM G, 1991, SPA SPARC ANAL TOOL
[32]  
*ISE, 1993, ISE EFF 3 0 SOFTW
[33]  
JOHNSTON RL, 1979, QPL QUOTE QUAD, V9, P82
[34]   CACHE BEHAVIOR OF COMBINATOR GRAPH REDUCTION [J].
KOOPMAN, PJ ;
LEE, P ;
SIEWIOREK, DP .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1992, 14 (02) :265-297
[35]  
MITCHELL JG, 1970, THESIS C MELLON U PI
[36]  
PANDE H, 1994, LCSRTR197A RUTG U
[37]  
*PARCPL, 1992, VIS WORKS 1 0 SMALLT
[38]  
PLEVYAK J, 1994, P 9 ANN C OBJ OR PRO, P324
[39]  
REINHOLD M, 1993, MITLCSTR581
[40]   MULTIWAY VERSUS ONE-WAY CONSTRAINTS IN USER INTERFACES - EXPERIENCE WITH THE DELTABLUE ALGORITHM [J].
SANNELLA, M ;
MALONEY, J ;
FREEMANBENSON, B ;
BORNING, A .
SOFTWARE-PRACTICE & EXPERIENCE, 1993, 23 (05) :529-566