Darjeeling, a feature-rich VM for the resource poor


Autoria(s): Brouwers, N.; Langendoen, K.; Corke, Peter
Data(s)

2009

Resumo

The programming and retasking of sensor nodes could benefit greatly from the use of a virtual machine (VM) since byte code is compact, can be loaded on demand, and interpreted on a heterogeneous set of devices. The challenge is to ensure good programming tools and a small footprint for the virtual machine to meet the memory constraints of typical WSN platforms. To this end we propose Darjeeling, a virtual machine modelled after the Java VM and capable of executing a substantial subset of the Java language, but designed specifically to run on 8- and 16-bit microcontrollers with 2 - 10 KB of RAM. The Darjeeling VM uses a 16- rather than a 32-bit architecture, which is more efficient on the targeted platforms. Darjeeling features a novel memory organisation with strict separation of reference from non-reference types which eliminates the need for run-time type inspection in the underlying compacting garbage collector. Darjeeling uses a linked stack model that provides light-weight threads, and supports synchronisation. The VM has been implemented on three different platforms and was evaluated with micro benchmarks and a real-world application. The latter includes a pure Java implementation of the collection tree routing protocol conveniently programmed as a set of cooperating threads, and a reimplementation of an existing environmental monitoring application. The results show that Darjeeling is a viable solution for deploying large-scale heterogeneous sensor networks. Copyright 2009 ACM.

Formato

application/pdf

Identificador

http://eprints.qut.edu.au/32622/

Publicador

ACM

Relação

http://eprints.qut.edu.au/32622/1/corke.pdf

DOI:10.1145/1644038.1644056

Brouwers, N., Langendoen, K., & Corke, Peter (2009) Darjeeling, a feature-rich VM for the resource poor. In Proceedings of the 7th ACM Conference on Embedded Networked Sensor Systems, ACM, Berkeley, California, USA, pp. 169-182.

Direitos

Copyright 2009 ACM

Fonte

Faculty of Built Environment and Engineering; School of Engineering Systems

Palavras-Chave #090602 Control Systems Robotics and Automation #Java #Virtual machines #Wireless sensor networks
Tipo

Conference Paper