Skip to main navigation Skip to search Skip to main content

Embedded JIT compilation with CACAO on YARI

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Java is one of the most popular programming languages for the development of portable workstation and server applications available today. Because of its clean design and typesafety, it is also becoming attractive in the domain of embedded systems. Unfortunately, the dynamic features of the language and its rich class library cause considerable overhead in terms of runtime and memory consumption. Efficient techniques to implement Java virtual machines that are suitable for use in resource constrained environments are thus needed. In this work we present a solution for very restricted environments based on CACAO. CACAO is a just-in-time compiling virtual machine implementation, combining high speed and small size. We have modified the original version of CACAO to run without an underlying operating system within only 1 MB of memory. In addition we present a new technique to selectively compile methods during the initialization phase of real-time Java applications to prevent unwanted interaction between dynamic compilation and critical tasks. Furthermore we present the YARI soft-core as the execution platform of CACAO within an field-programmable gate array. We compare our implementation with two well known Java processors, JOP and Sun's picoJava-II, on the same technology. Although JOP achieves a higher clock frequency and picoJava-II occupies nearly 4 times the resource of YARI, our solution is capable to outperform both of them by a factor of up to 2.8 and 2.2 respectively.

Original languageEnglish
Title of host publicationProceedings of the 2009 IEEE International Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing, ISORC 2009
Pages63-70
Number of pages8
DOIs
Publication statusPublished - 6 Nov 2009
Externally publishedYes
Event2009 IEEE International Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing, ISORC 2009 - Tokyo, Japan
Duration: 17 Mar 200920 Mar 2009

Publication series

NameProceedings of the 2009 IEEE International Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing, ISORC 2009

Conference

Conference2009 IEEE International Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing, ISORC 2009
Country/TerritoryJapan
CityTokyo
Period17/03/0920/03/09

Fingerprint

Dive into the research topics of 'Embedded JIT compilation with CACAO on YARI'. Together they form a unique fingerprint.

Cite this