Publication
SPLASH 2012
Workshop paper

Some new approaches to partial inlining

View publication

Abstract

This paper proposes two novel techniques for partial inlining. Context-driven partial inlining uses information available to the compiler at a call site to prune the callee prior to assessing whether the (pruned) body of the callee should be inlined. Guarded partial inlining seeks to inline the frequently taken fast path through the callee along with a test and a call to the original method to handle those instances where the fast path is not taken. A fragile implementation of guarded partial inlining is described. An example, very loosely based on a simplified web server, is fabricated. Experimental evidence establishes the superiority of partial inlining over no inlining and over complete inlining on this contrived example. We show that these approaches to partial inlining are applicable in situations where previous approaches are not. Potential effects of the widespread availability of partial inlining on software development are considered. Copyright © 2012 ACM.

Date

Publication

SPLASH 2012

Authors

Topics

Share