Abstract
We have developed TakaTuka, a Java Virtual Machine optimized for tiny embedded devices such as wireless sensor motes. TakaTuka requires very little memory and processing power from the host device. This has been verified by successfully running TakaTuka on four different mote platforms. The focus of this paper is TakaTuka’s optimization of program memory usage. In addition, it also gives an overview of TakaTuka’s linkage with TinyOS and power management. TakaTuka optimizes storage requirements for the Java classfiles as well as for the JVM interpreter, both of which are expected to be stored on the embedded devices. These optimizations are performed on the desktop computer during the linking phase, before transferring the Java binary and the corresponding JVM interpreter onto a mote and thus without burdening its memory or computation resources. We have compared TakaTuka with the Sentilla, Darjeeling and Squawk JVMs.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
AREXX engineering. The NanoVM - Java for the AVR, http://www.harbaum.org
Clausen, et al.: Java bytecode compression for low-end embedded systems. ACM Trans. Program. Lang. Syst. (2000)
Gay, D., et al.: The nesc language: A holistic approach to networked embedded systems. In: ACM SIGPLAN PLDI (2003)
Gregg, D., et al.: A fast java interpreter. In: The Workshop on Java (2001)
Rayside, D., et al.: Compact java binaries for embedded systems. In: CASCON (1999)
Saougkos, D., et al.: Revisiting java bytecode compression for embedded and mobile computing environments. IEEE Trans. Softw. Eng. (2007)
Simon, D., et al.: Java on the bare metal of wireless sensor devices: the squawk java virtual machine. In: ACM SIGPLAN VEE (2006)
Gamma, E., et al.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading (1994)
Chakeres, I., et al.: Dynamic MANET On-demand (DYMO) Routing. IETF (2008)
Koshy, J., et al.: Vmstar: Sythesizing scalable runtime environments for sensor networks. In: SenSys (2005)
Brouwers, N., et al.: Darjeeling, a feature-rich vm for the resource poor. In: SenSys (2009)
Levis, P., et al.: TinyOS Programming. Cambridge University Press, Cambridge (2009)
De Wang, S., et al.: Jato: A compact binary file format for java class. In: ICPADS (2001)
Lindholm, T., et al.: The Java Virtual Machine Specification. Prentice-Hall, Englewood Cliffs (1999)
Shi, Y., et al.: Virtual machine showdown: Stack versus registers. In: VEE (2005)
Gnawali, O., Fonseca, R., Jamieson, K., Moss, D., Levis, P.: Collection tree protocol. In: Culler, D.E., Liu, J., Welsh, M. (eds.) SenSys, pp. 1–14. ACM, New York (2009)
Sentilla, http://www.sentilla.com
Crossbow Technology. Wireless Sensor Networks, http://www.xbow.com
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2010 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Aslam, F. et al. (2010). Optimized Java Binary and Virtual Machine for Tiny Motes. In: Rajaraman, R., Moscibroda, T., Dunkels, A., Scaglione, A. (eds) Distributed Computing in Sensor Systems. DCOSS 2010. Lecture Notes in Computer Science, vol 6131. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-13651-1_2
Download citation
DOI: https://doi.org/10.1007/978-3-642-13651-1_2
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-13650-4
Online ISBN: 978-3-642-13651-1
eBook Packages: Computer ScienceComputer Science (R0)