Code generation and optimization for Java-to-C compilers

Youngsun Han, Shinyoung Kim, Hokwon Kim, Seok Joong Hwang, Seon Wook Kim

Research output: Chapter in Book/Report/Conference proceedingConference contribution

1 Citation (Scopus)

Abstract

Currently the Java programming language is popularly used in Internet-based systems, mobile and ubiquitous devices because of its portability and programability. However, inherently its performance is sometimes very limited due to interpretation overhead of class files by Java Virtual Machines (JVMs). In this paper, as one of the solutions to resolve the performance limitation, we present code generation and optimization techniques for a Java-to-C translator. Our compiler framework translates Java bytecode into C codes with preserving Java's programming semantics, such as inheritance, method overloading, virtual method invocation, garbage collection, and so on. Moreover, our compiler translates for in Java into for in C instead of test and Jump for better performance. Our runtime library fully supports Connected Limited Device Configuration (CLDC) 1.0 API's.

Original languageEnglish
Title of host publicationLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Pages785-794
Number of pages10
Volume4097 LNCS
Publication statusPublished - 2006 Oct 10
EventEUC 2006: Embedded and Ubiquitous Computing Workshops - Seoul, Korea, Republic of
Duration: 2006 Aug 12006 Aug 4

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume4097 LNCS
ISSN (Print)03029743
ISSN (Electronic)16113349

Other

OtherEUC 2006: Embedded and Ubiquitous Computing Workshops
CountryKorea, Republic of
CitySeoul
Period06/8/106/8/4

    Fingerprint

ASJC Scopus subject areas

  • Computer Science(all)
  • Biochemistry, Genetics and Molecular Biology(all)
  • Theoretical Computer Science

Cite this

Han, Y., Kim, S., Kim, H., Hwang, S. J., & Kim, S. W. (2006). Code generation and optimization for Java-to-C compilers. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 4097 LNCS, pp. 785-794). (Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); Vol. 4097 LNCS).