ACM Home Page
Please provide us with feedback. Feedback
Selective specialization for object-oriented languages
Full text PdfPdf (1.32 MB)
Source Conference on Programming Language Design and Implementation archive
Proceedings of the ACM SIGPLAN 1995 conference on Programming language design and implementation table of contents
La Jolla, California, United States
Pages: 93 - 102  
Year of Publication: 1995
ISBN:0-89791-697-2
Also published in ...
Authors
Jeffrey Dean  Department of Computer Science and Engineering, University of Washington, Seattle, WA
Craig Chambers  Department of Computer Science and Engineering, University of Washington, Seattle, WA
David Grove  Department of Computer Science and Engineering, University of Washington, Seattle, WA
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 5,   Downloads (12 Months): 33,   Citation Count: 31
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/207110.207119
What is a DOI?

ABSTRACT

Dynamic dispatching is a major source of run-time overhead in object-oriented languages, due both to the direct cost of method lookup and to the indirect effect of preventing other optimizations. To reduce this overhead, optimizing compilers for object-oriented languages analyze the classes of objects stored in program variables, with the goal of bounding the possible classes of message receivers enough so that the compiler can uniquely determine the target of a message send at compile time and replace the message send with a direct procedure call. Specialization is one important technique for improving the precision of this static class information: by compiling multiple versions of a method, each applicable to a subset of the possible argument classes of the method, more precise static information about the classes of the method's arguments is obtained. Previous specialization strategies have not been selective about where this technique is applied, and therefore tended to significantly increase compile time and code space usage, particularly for large applications. In this paper, we present a more general framework for specialization in object-oriented languages and describe a goal directed specialization algorithm that makes selective decisions to apply specialization to those cases where it provides the highest benefit. Our results show that our algorithm improves the performance of a group of sizeable programs by 65% to 275% while increasing compiled code space requirements by only 4% to 10%. Moreover, when compared to the previous state-of-the-art specialization scheme, our algorithm improves performance by 11% to 67% while simultaneously reducing code space requirements by 65% to 73%.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

Amiel et al. 94
Chambers & Ungar 89
Chambers & Ungar 91
 
Chambers 92
 
Chambers 93
Craig Chambers. The Cecil Language: Specification and Rationale. Technical Report TR-93-03-05, Department of Computer Science and Engineering. University of Washington, March 1993.
Chambers et al. 89
Chambers et al. 95
 
Chen et al. 94
 
Cooper et al. 92
Keith D. Cooper, Mary W. Hall, and Ken Kennedy. Procedure Cloning. In Proceedings of 1992 IEEE International Conference on Computer Languages, pages 96- 105, Oakland, CA, April 1992.
Dean & Chambers 94
 
Dean et al. 95
 
Garrett et al. 94
Charlie Garrett, Jeffrey Dean, David Grove, and Craig Chambers. Measurement and Application of Dynamic Receiver Class Distributions. Technical Report UW-CS 94-03- 05, University of Washington, March 1994.
Grove & Torczon 93
Holzle & Ungar 94
 
Holzle et al. 91
Ingalls 86
 
Jones et al. 93
 
Katz & Weise 92
M. Katz and D. Weise. Towards a New Perspective on Partial Evaluation. In Proceedings of the Workshop on Partial Evaluation and Semantics-Based Program Manipulation '92, pages 29-36. Yale University, 1992.
 
Kiczales & Rodriguez 89
Gregor Kiczales and Luis Rodriguez. Efficient Method Dispatch in PCL. Technical Report SSL 89-95, Xerox PARC Systems Sciences Laboratory, 1989.
 
Kilian 88
Michael F. Kilian. Why Trellis/Owl Runs Fast. Unpublished manuscript, March 1988.
 
Lea 90
Doug Lea. Customization in C++. In Proceedings of the 1990 Usenix C++ Conference, San Francisco, CA, Aprfi 1990.
 
Lim & Stolcke 91
Chu-Cheow Lim and Andreas Stolcke. Sather Language Design and Performance Evaluation. Technical Report TR 91-034, International Computer Science Institute, May 1991.
Palsberg & Schwartzbach 91
 
Pande & Ryder 94
Hemant D. Pande and Barbara G. Ryder. Static Type Determination for C++. in Proceedings of Sixth USENIX C+ + Technical Conference, 1994.
Plevyak & Chien 94
Ruf & Weise 91

CITED BY  31

Collaborative Colleagues:
Jeffrey Dean: colleagues
Craig Chambers: colleagues
David Grove: colleagues