Skip to main content

Optimized Java Binary and Virtual Machine for Tiny Motes

  • Conference paper
Distributed Computing in Sensor Systems (DCOSS 2010)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. AREXX engineering. The NanoVM - Java for the AVR, http://www.harbaum.org

  2. Clausen, et al.: Java bytecode compression for low-end embedded systems. ACM Trans. Program. Lang. Syst. (2000)

    Google Scholar 

  3. Gay, D., et al.: The nesc language: A holistic approach to networked embedded systems. In: ACM SIGPLAN PLDI (2003)

    Google Scholar 

  4. Gregg, D., et al.: A fast java interpreter. In: The Workshop on Java (2001)

    Google Scholar 

  5. Rayside, D., et al.: Compact java binaries for embedded systems. In: CASCON (1999)

    Google Scholar 

  6. Saougkos, D., et al.: Revisiting java bytecode compression for embedded and mobile computing environments. IEEE Trans. Softw. Eng. (2007)

    Google Scholar 

  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. Gamma, E., et al.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading (1994)

    Google Scholar 

  9. Chakeres, I., et al.: Dynamic MANET On-demand (DYMO) Routing. IETF (2008)

    Google Scholar 

  10. Koshy, J., et al.: Vmstar: Sythesizing scalable runtime environments for sensor networks. In: SenSys (2005)

    Google Scholar 

  11. Brouwers, N., et al.: Darjeeling, a feature-rich vm for the resource poor. In: SenSys (2009)

    Google Scholar 

  12. Levis, P., et al.: TinyOS Programming. Cambridge University Press, Cambridge (2009)

    Book  Google Scholar 

  13. De Wang, S., et al.: Jato: A compact binary file format for java class. In: ICPADS (2001)

    Google Scholar 

  14. Lindholm, T., et al.: The Java Virtual Machine Specification. Prentice-Hall, Englewood Cliffs (1999)

    Google Scholar 

  15. Shi, Y., et al.: Virtual machine showdown: Stack versus registers. In: VEE (2005)

    Google Scholar 

  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)

    Chapter  Google Scholar 

  17. Sentilla, http://www.sentilla.com

  18. Crossbow Technology. Wireless Sensor Networks, http://www.xbow.com

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics