Object-oriented languages like Java and Smalltalk provide a uniform object model that simplifies programming by providing a consistent, abstract model of object behavior. But direct implementations introduce overhead, removal of which requires aggressive implementation techniques (e.g. type inference, function specialization); in this paper, we introduce object inclining, an optimization that automatically inline allocates objects within containers (as is done by hand in C++) within a uniform model. We presen our technique, which includes novel program analyses that track how inlinable objects are used throughout the program. We evaluated object inlining on several object-oriented benchmarks. It produces performance up to three times as fast as a dynamic model without inlining and roughly equal to that of manually-inlined codes.
CITATION STYLE
Dolby, J. (1997). Automatic Inline Allocation of Objects. SIGPLAN Notices (ACM Special Interest Group on Programming Languages), 32(5), 7–17. https://doi.org/10.1145/258916.258918
Mendeley helps you to discover research relevant for your work.