A comparative study of static and profile-based heuristics for inlining

Citation
M. Arnold et al., A comparative study of static and profile-based heuristics for inlining, ACM SIGPL N, 35(7), 2000, pp. 52-64
Citations number
17
Categorie Soggetti
Computer Science & Engineering
Journal title
ACM SIGPLAN NOTICES
ISSN journal
15232867 → ACNP
Volume
35
Issue
7
Year of publication
2000
Pages
52 - 64
Database
ISI
SICI code
1523-2867(200007)35:7<52:ACSOSA>2.0.ZU;2-C
Abstract
In this paper, we present a comparative study of static and profile-based h euristics for inlining. Our motivation for this study is to use the results to design the best inlining algorithm that we can for the Jalapeno dynamic optimizing compiler for Java [6]. We use a well-known approximation algori thm for the KNAPSACK problem as a common "meta-algorithm" for the inlining heuristics studied in this paper. We present performance results for an imp lementation of these inlining heuristics in the Jalapeno dynamic optimizing compiler. Our performance results show that the inlining heuristics studie d in this paper can lead to significant speedups in execution time (up to 1 .68x) even with modest limits on code size expansion (at most 10%).