ACM SIGPLAN Notices · 2001 · 23 citations · 26 references
ComputingComputer EngineeringComputer ScienceCompilersProgramming LanguagesSystems ProgrammingCode GenerationCompiler ConstructionInterpreter DesignJust-in-time CompilationPerformance OptimizationRuntime SystemsCode InstrumentationDynamic CompilationJust-in-time Compilation OverheadRuntime InstrumentationRuntime OptimizationRuntime ProfilingStartup CodeVirtual Machines
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
26
Vasanth Bala, Evelyn Duesterwald, Sanjeev Banerjia · 2000 · 533 citations
A framework for reducing the cost of instrumented code
Matthew Arnold, Barbara G. Ryder · 2001 · 366 citations · Full text
The Jalapeño dynamic optimizing compiler for Java
Michael Burke, Jong-Deok Choi, Stephen J. Fink et al. · 1999 · 275 citations
Adaptive optimization in the Jalapeño JVM
Matthew Arnold, Stephen J. Fink, David Grove et al. · 2000 · 258 citations