Advertisement

Optimized Java Binary and Virtual Machine for Tiny Motes

  • Faisal Aslam
  • Luminous Fennell
  • Christian Schindelhauer
  • Peter Thiemann
  • Gidon Ernst
  • Elmar Haussmann
  • Stefan Rührup
  • Zastash A. Uzmi
Part of the Lecture Notes in Computer Science book series (LNCS, volume 6131)

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.

Keywords

Virtual Machine Java Program User Program Incoming Edge Java Virtual Machine 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    AREXX engineering. The NanoVM - Java for the AVR, http://www.harbaum.org
  2. 2.
    Clausen, et al.: Java bytecode compression for low-end embedded systems. ACM Trans. Program. Lang. Syst. (2000)Google Scholar
  3. 3.
    Gay, D., et al.: The nesc language: A holistic approach to networked embedded systems. In: ACM SIGPLAN PLDI (2003)Google Scholar
  4. 4.
    Gregg, D., et al.: A fast java interpreter. In: The Workshop on Java (2001)Google Scholar
  5. 5.
    Rayside, D., et al.: Compact java binaries for embedded systems. In: CASCON (1999)Google Scholar
  6. 6.
    Saougkos, D., et al.: Revisiting java bytecode compression for embedded and mobile computing environments. IEEE Trans. Softw. Eng. (2007)Google Scholar
  7. 7.
    Simon, D., et al.: Java on the bare metal of wireless sensor devices: the squawk java virtual machine. In: ACM SIGPLAN VEE (2006)Google Scholar
  8. 8.
    Gamma, E., et al.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading (1994)Google Scholar
  9. 9.
    Chakeres, I., et al.: Dynamic MANET On-demand (DYMO) Routing. IETF (2008)Google Scholar
  10. 10.
    Koshy, J., et al.: Vmstar: Sythesizing scalable runtime environments for sensor networks. In: SenSys (2005)Google Scholar
  11. 11.
    Brouwers, N., et al.: Darjeeling, a feature-rich vm for the resource poor. In: SenSys (2009)Google Scholar
  12. 12.
    Levis, P., et al.: TinyOS Programming. Cambridge University Press, Cambridge (2009)CrossRefGoogle Scholar
  13. 13.
    De Wang, S., et al.: Jato: A compact binary file format for java class. In: ICPADS (2001)Google Scholar
  14. 14.
    Lindholm, T., et al.: The Java Virtual Machine Specification. Prentice-Hall, Englewood Cliffs (1999)Google Scholar
  15. 15.
    Shi, Y., et al.: Virtual machine showdown: Stack versus registers. In: VEE (2005)Google Scholar
  16. 16.
    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)CrossRefGoogle Scholar
  17. 17.
  18. 18.
    Crossbow Technology. Wireless Sensor Networks, http://www.xbow.com

Copyright information

© Springer-Verlag Berlin Heidelberg 2010

Authors and Affiliations

  • Faisal Aslam
    • 1
  • Luminous Fennell
    • 1
  • Christian Schindelhauer
    • 1
  • Peter Thiemann
    • 1
  • Gidon Ernst
    • 1
  • Elmar Haussmann
    • 1
  • Stefan Rührup
    • 1
  • Zastash A. Uzmi
    • 2
  1. 1.University of FreiburgGermany
  2. 2.Lahore University of Management SciencesPakistan

Personalised recommendations