2000 · 24 citations · 9 references
ComputingComputer EngineeringComputer ScienceCompilersOperating SystemsProgramming LanguagesError HandlingOut-of-order ExecutionException HandlingException PropagationJust-in-time Compilation Overhead
The Java language provides exceptions in order to handle errors gracefully. However, the presence of exception handlers complicate the job of a JIT (Just-in-Time) compiler, including optimizations and register allocation, even though exceptions are rarely used in most programs. This paper describes some mechanisms for removing overheads imposed by the existence of exception handlers, including on-demand translation of exception handlers, which expose more optimization opportunities in normal flow. In addition, we also minimize the exception handling overhead for frequently thrown exceptions by jumping directly from the exception throwing point into the exception handler through a technique called exception handler prediction.
9
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 · 1998 · 95 citations