Publication:
A Study of the Effects of Subprogram Inlining

dc.contributor.authorHoller, Anne
dc.date.accessioned2026-01-22T16:57:39Z
dc.date.issued1991-01-01
dc.descriptionOriginal submission date: 2013-10-11T20:04:22Z
dc.description.abstractThis dissertation examines subprogram inlining, a widely-known code optimization technique whose effects were not well understood prior to this study. For a set of test programs on several computer systems, the sizes and runtimes of executable files produced using a tool that automatically substitutes subprograms inline were compared with those of versions in which call sites were not expanded inline. Issues raised by this experiment's results led to the formulation of equations hypothesized to estimate the execution time performance of noninlined and inlined versions of a program. The accuracy of the equations' description of inlined program execution time behavior was demonstrated on four computer systems. Investigation with the equations provided insights of interest to machine and compiler designers. Using the equations, knowledge about the influence of certain factors on the speed of inlined code was gained. Contrary to a number of published reports in the literature, the increased size of inlined code was not found to affect its execution time performance on a set of demand-paged virtual memory machines. In addition, a modest improvement in the caching and paging behavior of test programs' inlined versions was noted. Situations in which inlining was not beneficial, which were associated with its interactions with register allocation, were characterized. Furthermore, in connection with developing the inlining tool, discoveries were made: an efficient way of organizing an inliner was devised, a new optimization for supplementing inlining's effects was invented, inlining issues related to particular C constructs were identified, and a novel approach to inlining recursive subprograrns was conceived. Note: Abstract extracted from PDF file via OCR
dc.identifier3j333229t
dc.identifier.citationHoller, Anne. "A Study of the Effects of Subprogram Inlining." University of Virginia Dept. of Computer Science Tech Report (1991).
dc.identifier.doi10.18130/V36B78
dc.identifier.urihttps://doi.org/10.18130/V36B78
dc.identifier.urihttps://libraopen.library.virginia.edu/handle/item/7093
dc.languageEnglish
dc.language.isoen
dc.publisherUniversity of Virginia, Department of Computer Science
dc.rightsAll rights reserved (no additional license for public reuse)
dc.titleA Study of the Effects of Subprogram Inlining
dc.typeTechnical Report
dspace.entity.typePublication
relation.isAuthorOfPublication192e5184-bb3f-424f-9660-ec5bc6df1404
relation.isAuthorOfPublication.latestForDiscovery192e5184-bb3f-424f-9660-ec5bc6df1404

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
TR-91-06.pdf
Size:
6.4 MB
Format:
Adobe Portable Document Format

Collections