Logo image
A hybrid just-in-time compiler for android: Comparing JIT types and the result of cooperation
Conference paper

A hybrid just-in-time compiler for android: Comparing JIT types and the result of cooperation

Guillermo A. Pérez, Chung-Min Kao, YEH-CHING CHUNG and Wei-Chung Hsu
CASES'12 - Proceedings of the 2012 ACM International Conference on Compilers, Architectures and Synthesis for Embedded Systems, Co-located with ESWEEK, pp.41-50
2012

Abstract

Android Dalvik VM JIT Method-Based Trace-Based
The Dalvik virtual machine is the main application platform running on Google's Android operating system for mobile devices and tablets. It is a Java Virtual Machine running a basic trace-based JIT compiler, unlike web browser JavaScript engines that usually run a combination of both method and trace-based JIT types. We developed a methodbased JIT compiler based on the Low Level Virtual Machine framework that delivers performance improvement comparable to that of an Ahead-Of-Time compiler. We compared our method-based JIT against Dalvik's own trace-based JIT using common benchmarks available in the Android Market. Our results show that our method-based JIT is better than a basic trace-based JIT, and that, by sharing profiling and compilation information among each other, a smart combination of both JIT techniques can achieve a great performance gain. Copyright 2012 ACM.

Metrics

1 Record Views

Details

Logo image