Refactoring techniques for aggressive object inlining in Java applications

作者:Yosi Ben Asher, Tomer Gal, Gadi Haber, Marcel Zalmanovici

摘要

Object Inlining (OI) is a known optimization in object oriented programming in which referenced objects of class B are inlined into their referencing objects of class A by making all fields and methods of class B part of class A. The optimization saves all the new operations of B type objects from class A and at the same time replaces all indirect accesses, from A to fields of B, by direct accesses. To the best of our knowledge, in-spite of the significant performance potential of the OI optimization, reported performance measurements were relatively moderate. This is because an aggressive OI optimization requires complex analysis and code transformations to overcome problems like multiple references to the inlinable object, object references that escape their object scope, etc.

论文关键词:Refactoring, Java, Inlining, Eclipse

论文评审过程:

论文官网地址:https://doi.org/10.1007/s10515-011-0096-x