2003 · 16 citations · 6 references
ComputingComputer EngineeringComputer ScienceCompilersComputer ArchitectureProgramming LanguagesCode GenerationCompiler ConstructionControl-flow AnalysisInstruction Set ArchitectureJust-in-time CompilationRegister AllocationAllocation For Risc ArchitecturesAllocation In Just-in-time CompilationBytecode RepresentationMachine Code GenerationMark-sweep Garbage CollectionRegistersRisc ArchitecturesVirtual Machine Just-in-time Compilation
For network computing on desktop machines, fast execution of Java bytecode programs is essential because these machines are expected to run substantial application programs written in Java. Higher Java performance can be achieved by just-in-time (JIT) compilers which translate the stack-based bytecode into register-based machine code on demand. One crucial problem in Java JIT compilation is how to map and allocate stack entries and local variables into registers efficiently and quickly, so as to improve the Java performance. This paper introduces LaTTe, a Java JIT compiler that performs fast and efficient register mapping and allocation for RISC machines. LaTTe first translates the bytecode into pseudo RISC code with symbolic registers, which is then register allocated while coalescing those copies corresponding to pushes and pops between local variables and the stack. The LaTTe JVM also includes an enhanced object model, a lightweight monitor, a fast mark-and-sweep garbage collector, and an on-demand exception handling mechanism, all of which are closely coordinated with LaTTe's JIT compilation.
6
Register allocation & spilling via graph coloring
Gregory J. Chaitin · 1982 · 668 citations
Coloring a Family of Circular Arcs
Alan Tucker · SIAM Journal on Applied Mathematics · 1975 · 220 citations
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
Efficient JavaVM just-in-time compilation
Andreas Krall · 2002 · 35 citations
Compilers for improved Java performance
C.-H.A. Hsieh, Marisa Conte, T.L. Johnson et al. · Computer · 1997 · 33 citations