University of Sussex
Browse

File(s) not publicly available

Proxy compilation of dynamically loaded Java classes with MoJo

journal contribution
posted on 2023-06-07, 14:16 authored by Matt Newsome, Des Watson
Interest in Java implementations for resource-constrained environments such as embedded systems has been tempered by concerns regarding its efficiency. Current native compilers for Java offer dramatic increases in efficiency, but have poor support for dynamically-loaded classes, which are typically served by slow interpreters or JIT compilers, the code-size of this latter utterly mismatching the resource constraints of the system.After a brief survey of Ahead-of-Time compilers for Java, we present MoJo --- a new native compiler and the testbed for our proxy compilation scheme, which allows embedded clients to connect to servers and delegate compilation of Java class packages to native code libraries.We also present initial results from experimental testing using MoJo in a resource-constrained, mobile computing environment. We show that MoJo is faster than all surveyed Java implementations for the test platform executing our initial test application. Our proxy compilation scheme results in a 94% speed increase over the fastest tested interpreter system and a 20% speed increase over the fastest tested JIT system.The MoJo-generated binaries for the application are also shown to be 45 times smaller than those required by its nearest iPAQ JRE competitor and 275 times smaller than the Sun JRE v1.3.1 for iPAQ as a direct result of our incremental, on-demand transfer of API classes to the client.

History

Publication status

  • Published

Journal

SIGPLAN Notices

ISSN

0362-1340

Publisher

ACM Press

Issue

7

Volume

37

Page range

204-212

Pages

233.0

Book title

Language, Compiler and Tool Support for Embedded Systems: Proceedings of the 2002 Joint Conference (LCTES'02-SCOPES'02) Berlin, Germany

Place of publication

New York, NY, USA

ISBN

1581135270

Series

ACM SIGPLAN Notices

Department affiliated with

  • Informatics Publications

Notes

Publisher's version available at official url.

Full text available

  • No

Peer reviewed?

  • Yes

Editors

Peter Marwedel, Srinivas Devadas

Legacy Posted Date

2007-08-20

Usage metrics

    University of Sussex (Publications)

    Categories

    No categories selected

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC