Rethinking Java call stack design for tiny embedded devices

Author:

Aslam Faisal1,Baig Ghufran2,Qureshi Mubashir Adnan2,Uzmi Zartash Afzal2,Fennell Luminous3,Thiemann Peter3,Schindelhauer Christian3,Haussmann Elmar3

Affiliation:

1. Punjab University College of Information Technology (PUCIT), Lahore, Pakistan

2. Lahore University of Management Sciences (LUMS), Lahore, Pakistan

3. University of Freiburg, Freiburg, Germany

Abstract

The ability of tiny embedded devices to run large feature-rich programs is typically constrained by the amount of memory installed on such devices. Furthermore, the useful operation of these devices in wireless sensor applications is limited by their battery life. This paper presents a call stack redesign targeted at an efficient use of RAM storage and CPU cycles by a Java program running on a wireless sensor mote. Without compromising the application programs, our call stack redesign saves 30% of RAM, on average, evaluated over a large number of benchmarks. On the same set of bench-marks, our design also avoids frequent RAM allocations and deallocations, resulting in average 80% fewer memory operations and 23% faster program execution. These may be critical improvements for tiny embedded devices that are equipped with small amount of RAM and limited battery life. However, our call stack redesign is equally effective for any complex multi-threaded object oriented program developed for desktop computers. We describe the redesign, measure its performance and report the resulting savings in RAM and execution time for a wide variety of programs.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference25 articles.

1. AlgoWiKi: The Programmer's Compendium. http://algowiki.net/wiki/. AlgoWiKi: The Programmer's Compendium. http://algowiki.net/wiki/.

2. Memsic: Wirless sensor networks. http://www.memsic.com/products/wireless-sensor-networks/. Memsic: Wirless sensor networks. http://www.memsic.com/products/wireless-sensor-networks/.

3. Optimized Java Binary and Virtual Machine for Tiny Motes

4. Offline GC

5. Memory overflow protection for embedded systems using run-time checks, reuse, and compression

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3