An efficient mixed-mode execution environment for C on mobile phone platforms

Taek Hoon Kim, Sungho Kim, Kirak Hong, Hwangho Kim, Jiin Park, Yousun Ko, Bernd Burgstaller, Bernhard Scholz

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

2 Citations (Scopus)

Abstract

Mobile devices are constrained in terms of computational power, battery lifetime and memory sizes. Software development for mobile devices is further complicated by application complexity and heterogeneous hardware platforms. Virtual Machines (VMs) abstract from the underlying hardware, but their use with embedded devices can only be justified if the interpretive overhead is kept to a minimum. In this paper we argue that efficient bytecode execution is feasible on mobile devices. We adapt a VM for the C programming language for ARM-based mobile phone platforms. Our VM utilizes latest interpreter technologies to achieve high performance. It offers mixed-mode execution, i.e., code is either executed on the VM or on the CPU, to combine the advantages of VM-based hardware abstraction with the speed of machine-code. We conduct extensive experiments with the MiBench embedded benchmark suite to evaluate VM-performance and the effectiveness of interpreter optimizations on an ARM-based mobile phone platform. Our interpreter consumes just 10.55KB of code and 0.9KB of data. For all surveyed applications, we achieve a slowdown of less than a factor of 23 over binary code execution, which makes our VM a viable option for bytecode execution on mobile devices.

Original languageEnglish
Title of host publication2009 WRI World Congress on Computer Science and Information Engineering, CSIE 2009
Pages320-328
Number of pages9
DOIs
Publication statusPublished - 2009 Nov 12
Event2009 WRI World Congress on Computer Science and Information Engineering, CSIE 2009 - Los Angeles, CA, United States
Duration: 2009 Mar 312009 Apr 2

Publication series

Name2009 WRI World Congress on Computer Science and Information Engineering, CSIE 2009
Volume1

Other

Other2009 WRI World Congress on Computer Science and Information Engineering, CSIE 2009
CountryUnited States
CityLos Angeles, CA
Period09/3/3109/4/2

All Science Journal Classification (ASJC) codes

  • Computer Science Applications
  • Hardware and Architecture
  • Information Systems
  • Software

Fingerprint Dive into the research topics of 'An efficient mixed-mode execution environment for C on mobile phone platforms'. Together they form a unique fingerprint.

  • Cite this

    Kim, T. H., Kim, S., Hong, K., Kim, H., Park, J., Ko, Y., Burgstaller, B., & Scholz, B. (2009). An efficient mixed-mode execution environment for C on mobile phone platforms. In 2009 WRI World Congress on Computer Science and Information Engineering, CSIE 2009 (pp. 320-328). [5171185] (2009 WRI World Congress on Computer Science and Information Engineering, CSIE 2009; Vol. 1). https://doi.org/10.1109/CSIE.2009.909