2010 · 939 citations · 14 references
ComputingComputer ScienceCompilersOperating SystemsProgramming LanguagesAbstract Syntax TreesCode GenerationCompiler ConstructionData-flow AnalysisIntermediate RepresentationInterpreter DesignBytecode DecompilationBytecode InterpretationBytecode InterpretersBytecode RepresentationCode OptimizationInterpreter OptimizationProgram OptimizationWhole-program Optimization
The paper motivates the use of three intermediate representations for Java bytecode and outlines key translation points between them. The authors present Soot, a Java bytecode optimization framework, and aim to demonstrate its effectiveness through intraprocedural and whole-program optimizations on large benchmarks. Soot is implemented in Java and offers three intermediate representations—Baf, Jimple, and Grimp—along with intraprocedural and whole-program optimization passes. Experimental results on 12 large benchmarks show up to 8% speedup with the interpreter and up to 21% with the JIT compiler.
This paper presents Soot, a framework for optimizing Java* bytecode. The framework is implemented in Java and supports three intermediate representations for representing Java bytecode: Baf, a streamlined representation of bytecode which is simple to manipulate; Jimple, a typed 3-address intermediate representation suitable for optimization; and Grimp, an aggregated version of Jimple suitable for decompilation. We describe the motivation for each representation, and the salient points in translating from one representation to another. In order to demonstrate the usefulness of the framework, we have implemented intraprocedural and whole program optimizations. To show that whole program bytecode optimization can give performance improvements, we provide experimental results for 12 large benchmarks, including 8 SPECjvm98 benchmarks running on JDK 1.2 for GNU/Linuxtm. These results show up to 8% improvement when the optimized bytecode is run using the interpreter and up to 21% when run using the JIT compiler.
14
Fast static analysis of C++ virtual function calls
David F. Bacon, Peter F. Sweeney · 1996 · 512 citations
An efficient method of computing static single assignment form
Ron K. Cytron, Jeanne Ferrante, Barry K. Rosen et al. · 1989 · 465 citations
Practical virtual method call resolution for Java
Vijay Sundaresan, Laurie Hendren, Chrislain Razafimahefa et al. · 2000 · 290 citations · Full text
Fast, effective code generation in a just-in-time Java compiler
Ali-Reza Adl-Tabatabai, Michał Cierniak, Guei-Yuan Lueh et al. · 1998 · 182 citations
Marmot: an optimizing compiler for Java
Robert Fitzgerald, Todd B. Knoblock, Erik Ruf et al. · Software Practice and Experience · 2000 · 141 citations