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)


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 publicationEmerging Directions in Embedded and Ubiquitous Computing - EUC 2006 Workshops
Subtitle of host publicationNCUS, SecUbiq, USN, TRUST, ESO, and MSA, Proceedings
EditorsXiaobo Zhou, Oleg Sokolsky, Lu Yan, Lu Yan, Eun-Sun Jung, Zili Shao, Yi Mu, Dong-Chun Lee, Daeyoung Kim, Young-Sik Jeong, Cheng-Zhong Xu
PublisherSpringer Verlag
Number of pages10
ISBN (Print)3540368507, 9783540368502
Publication statusPublished - 2006
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)0302-9743
ISSN (Electronic)1611-3349


OtherEUC 2006: Embedded and Ubiquitous Computing Workshops
Country/TerritoryKorea, Republic of

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science


Dive into the research topics of 'Code generation and optimization for Java-to-C compilers'. Together they form a unique fingerprint.

Cite this