Title
A dynamic optimization framework for a Java just-in-time compiler
Abstract
The high performance implementation of Java Virtual Machines (JVM) and just-in-time (JIT) compilers is directed toward adaptive compilation optimizations on the basis of online runtime profile information. This paper describes the design and implementation of a dynamic optimization framework in a production-level Java JIT compiler. Our approach is to employ a mixed mode interpreter and a three level optimizing compiler, supporting quick, full, and special optimization, each of which has a different set of tradeoffs between compilation overhead and execution speed. a lightweight sampling profiler operates continuously during the entire program's exectuion. When necessary, detailed information on runtime behavior is collected by dynmiacally generating instrumentation code which can be installed to and uninstalled from the specified recompilation target code. Value profiling with this instrumentation mechanism allows fully automatic code specialization to be performed on the basis of specific parameter values or global data at the highest optimization level. The experimental results show that our approach offers high performance and a low code expansion ratio in both program startup and steady state measurements in comparison to the compile-only approach, and that the code specialization can also contribute modest performance improvement
Year
DOI
Venue
2001
10.1145/504282.504296
OOPSLA
Keywords
Field
DocType
compiler optimization,steady state,optimizing compiler,security,just in time compiler,java,difference set
Dead code elimination,Profile-guided optimization,Inline expansion,Threaded code,Dynamic compilation,Programming language,Loop-invariant code motion,Computer science,Code generation,Just-in-time compilation,Operating system
Conference
Volume
Issue
ISSN
36
11
0362-1340
ISBN
Citations 
PageRank 
1-58113-335-9
65
2.85
References 
Authors
22
5
Name
Order
Citations
PageRank
Toshio Suganuma140427.10
Toshiaki Yasue227017.44
Motohiro Kawahito319713.92
Hideaki Komatsu441034.00
Toshio Nakatani574156.80