Work

Adaptive inlining and on-stack replacement in a Java virtual machine

Year: 2007
Type: dissertation
Abstract: Method inlining is a well-known and effective optimization technique for object-oriented programs.In the context of dynamic compilation, method inlining can be used as an adaptive optimization in order to eliminate the overhead of frequently executed calls.This work presents an implementation of method inlining in CACAO, a just-in-time compiler for Java.On-stack replacement is used for installing optimized code and for deoptimizing code when optimistic assumptions of the optimizer are broken by dynamic class loading.Three inlining heuristics are compared using empirical results from a set of benchmark programs.A type-based algorithm for the elimination of local subroutines is described.
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W7007798420
Cites: 26
Cited by:
Related to: 10