Professional AssociationsProfessional Associations: ACM | ACM SIGPLAN | IBM Academy of Technology
more informationMore information: Personal | Quotations | Sailing Resume | Screen Savers
Fast and Effective Optimization of Statically Typed Object-Oriented Languages
David Francis Bacon
Computer Science Division
University of California, Berkeley
We present a new optimization algorithm, Rapid Type Analysis, and show that it is fast both in theory and in practice, and significantly out-performs other "fast" algorithms for virtual function call resolution.
We present optimization algorithms for the resolution of virtual function calls, conversion of virtual inheritance to direct inheritance, elimination of dynamic casts and dynamic type checks, and removal of object synchronization. These algorithms are all presented within a common framework that allows them to be driven by the information collected by Rapid Type Analysis, or by some other type analysis algorithm.
Collectively, the optimizations in this dissertation free the programmer from having to sacrifice modularity and extensibility for performance. Instead, the programmer can freely make use of the most powerful features of object-oriented programming, since the optimizer will remove unnecessary extensibility from the program.