An automatic object inlining optimization and its evaluation
Julian Dolby, Andrew A. Chien · Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation · 2000
Automatic object inlining [19, 20] transforms heap data structures by fusing parent and child objects together. It can improve runtime by reducing object allocation and pointer dereference costs. We report continuing work studying object inlining optimizations. In particular, we present a new semantic derivation of the correctness conditions for object inlining, and program analysis which extends our previous work. And we present an object inlining transformation, focusing on a new algorithm which optimizes class field layout to minimize code expansion. Finally, we detail a fuller evaluation on eleven programs and libraries (including Xpdf, the 25,000 line Portable Document Format (PDF) le browser) that utilizes hardware measures of impact on the memory system. We show that our analysis scales effectively to large programs, nding many inlinable elds (45 in xpdf) at acceptable cost, and we show that, on some programs, it finds nearly all fields for which object inlining is correct, and a...
Cited by 97 works. doi:10.1145/349299.349344
Authors
References
- The Annotated C++ Reference Manual
- Efficiently computing static single assignment form and the control dependence graph
- A data locality optimizing algorithm
- A safe approximate algorithm for interprocedural aliasing
- Efficient flow-sensitive interprocedural computation of pointer-induced aliases and side effects
- Interprocedural may-alias analysis for pointers
- A safe approximate algorithm for interprocedural pointer aliasing
- Object structure in the Emerald system
- Optimizing dynamically-dispatched calls with run-time type feedback
- Functional Programming