• Home
  • Search
  • Efficient Java exception handling in just-in-time compilation
  • Cite Icon12
  • https://doi.org/10.1002/spe.v34:15Copy DOI Icon

Efficient Java exception handling in just-in-time compilation

Show More
  • Abstract
  • Literature Map
  • Citations
  • Similar Papers
Abstract

Java uses exceptions to provide elegant error handling capabilities during program execution. However, the presence of exception handlers complicates the job of the just-in-time lJITr compiler, while exceptions are rarely used in most programs. This paper describes two techniques for reducing such complications. First, we delay the translation of an exception handler until the exception really occurs. This on-demand translation of exception handlers allows more optimizations when translating the main flow, without being hindered by constraints caused by the exception flows. Secondly, for those exceptions that are actually thrown during program execution we insert exception-type check code and a direct branch to the translated exception handlers. This exception handler prediction is motivated by an observation that frequently thrown exceptions are likely to be handled by the same exception handlers, so this will eliminate the exception processing overhead of the Java virtual machine. Our experiments indicate that the code quality of the main flow is no longer affected by the presence of exception handlers. Also, frequently thrown exceptions can be efficiently handled by the exception handler prediction. Copyright © 2004 John Wiley & Sons, Ltd.

Similar Papers
  • Research Article

Efficient Java exception handling in just-in-time compilation

  • Dec 01, 2004
  • Leeseungil +2
  • Research Article
  • Citations9

Efficient Java exception handling in just‐in‐time compilation

  • Oct 18, 2004
  • Software: Practice and Experience
  • Seungil Lee +2
  • Research Article
  • Citations1

Constructing exception handling chains for testing Java virtual machine implementations

  • Apr 15, 2023
  • Journal of Software: Evolution and Process
  • Bochuan Chen +4
  • Research Article

爪哇例外處理:模型、重構、與樣式

  • Jan 01, 2008
  • 陳建村
  • Research Article

Exceptionization

  • Mar 31, 2017
  • ACM Transactions on Architecture and Code Optimization
  • Byung-Sun Yang +2
  • Conference Article
  • Citations25

Efficient Java exception handling in just-in-time compilation

  • Jun 03, 2000
  • Seungll Lee +6
  • Research Article
  • Citations24

A practical method for specification and analysis of exception handling-a Java/JVM case study

  • Jan 01, 2000
  • IEEE Transactions on Software Engineering
  • E Borger +1
  • Conference Article

Research on Teaching of Java Exception Handling

  • Mar 12, 2011
  • Zhou Xiao-Yuan
  • Journal Issue
  • Citations32

Simple verification technique for complex Java bytecode subroutines: Research Articles

  • Jun 01, 2004
  • Concurrency and Computation: Practice and Experience
  • Alessandro Coglio
  • Conference Article
  • Citations1

Evaluating HTM for Pauseless Garbage Collectors in Java

  • Aug 20, 2015
  • Maria Carpen-Amarie +4
  • Conference Article
  • Citations2

Just-In-Time Java? Compilation for the Itanium® Processor

  • Sep 22, 2002
  • Tatiana Shpeisman +2
  • Research Article
  • Citations17

Adding Self-healing capabilities to the Common Language Runtime

  • Jan 01, 2005
  • Columbia Academic Commons (Columbia University)
  • Rean Griffith +1
  • Research Article
  • Citations27

Abstract data types with exception handling: An initial approach based on a distinction between exceptions and errors

  • Jan 01, 1986
  • Theoretical Computer Science
  • Gilles Bernot +2
  • Conference Article
  • Citations4

An Empirical Study on Deoptimization in the Graal Compiler

  • Jun 13, 2017
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Yudi Zheng +2
  • Conference Article
  • Citations1

Mastering global exceptions with policy-aware recommendations

  • May 16, 2015
  • Eiji Adachi Barbosa
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.