Publications

Detailed Information

Efficient Exception Handling in Java Bytecode-to-C Ahead-of-Time Compiler for Embedded

DC Field Value Language
dc.contributor.authorJung, Dong-Heon-
dc.contributor.authorPark, JongKuk-
dc.contributor.authorBae, Sung-Hwan-
dc.contributor.authorLee, Jaemok-
dc.contributor.authorMoon, Soo-Mook-
dc.date.accessioned2010-04-01T01:47:36Z-
dc.date.available2010-04-01T01:47:36Z-
dc.date.issued2008-12-
dc.identifier.citationComputer Languages, Systems & Structures, 2008;34:170–183en
dc.identifier.issn1477-8424-
dc.identifier.urihttps://hdl.handle.net/10371/62290-
dc.descriptionComputer Languages, Systems and Structures
Volume 34 , Issue 4 (December 2008)
Pages: 170-183
en
dc.description.abstractOne of the most promising approaches to Java acceleration in embedded systems is a bytecode-to-C ahead-of-time compiler (AOTC). It improves the performance of a Java virtual machine (JVM) by translating bytecode into C code, which is then compiled into machine code via an existing C compiler. One important design issue in AOTC is efficient exception handling. Since the excepting point and the exception handler may locate in different methods on a call stack, control transfer between them should be streamlined, while an exception would be an ''exceptional'' event, so it should not slow down normal execution paths. Previous AOTCs often employed a technique called stack cutting based on a setjmp()/longjmp() pair, which we found is involved with too much performance overheads. Also, when the AOTC and the interpreter are employed concurrently (e.g., some methods are AOTCed while other methods are interpreted), the performance of normal execution paths is affected more seriously. This paper proposes a simpler solution based on an exception check after each method call, merged with garbage collection check for reducing its overhead. Our evaluation results on SPECjvm98 on Sun's CVM indicate that our technique can improve the performance of stack cutting by more than 25%. A similar performance benefit can be noted on a hybrid execution environment of both the AOTC and the interpreter.en
dc.language.isoenen
dc.publisherElsevieren
dc.subjectBytecode-to-Cen
dc.subjectException handlingen
dc.subjectJ2ME CDCen
dc.subjectJava ahead-of-time compileren
dc.subjectJava virtual machineen
dc.subjectStack cuttingen
dc.titleEfficient Exception Handling in Java Bytecode-to-C Ahead-of-Time Compiler for Embeddeden
dc.typeArticleen
dc.contributor.AlternativeAuthor박종국-
dc.contributor.AlternativeAuthor배성환-
dc.contributor.AlternativeAuthor이재목-
dc.contributor.AlternativeAuthor정동헌-
dc.contributor.AlternativeAuthor문수묵-
dc.identifier.doi10.1016/j.cl.2007.06.004-
Appears in Collections:
Files in This Item:

Altmetrics

Item View & Download Count

  • mendeley

Items in S-Space are protected by copyright, with all rights reserved, unless otherwise indicated.

Share