Sciweavers

PLDI
1995
ACM

Selective Specialization for Object-Oriented Languages

14 years 3 months ago
Selective Specialization for Object-Oriented Languages
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 signiď¬...
Jeffrey Dean, Craig Chambers, David Grove
Added 26 Aug 2010
Updated 26 Aug 2010
Type Conference
Year 1995
Where PLDI
Authors Jeffrey Dean, Craig Chambers, David Grove
Comments (0)