Skip to main content

No Heap Remote Objects: Leaving Out Garbage Collection at the Server Side

  • Conference paper
On the Move to Meaningful Internet Systems 2004: OTM 2004 Workshops (OTM 2004)

Abstract

This paper presents an approach to provide real-time support for Java RMI integrating it with the RTSJ memory model to leave out garbage collection. A new construct for remote objects is proposed: the no heap remote object (NhRo). The usage of a NhRo guarantees that memory required to perform a remote invocation (at the server side) does not use heap memory. The aim is to avoid garbage collection in the remote invocation process, improving predictability and memory isolation of Java-based distributed real-time applications. The Sun RMI implementation has been modified to integrate the NhRo model for static environments. The protype implementation and the performed experiments show the feasibility of the model.

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 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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. RTJEG, The Real-Time Specification for Java, Addison Wesley (2000), Available online 4/6/2004 at http://www.rtj.org

  2. J. Consortium Inc. “Core Real-Time Extensions for the Java Platform”. Technical Report. September 2 (2000), Available on-line 4/6/04 at http://www.j-consortium.org

  3. Bacon, D.F., Cheng, P., Rajan, V.T.: Metronome: A Simplier Approach to Garbage Collection In Real Time Systems. In: Workshop on Java Technologies for Real-Time and Embedded Systems, Catania, Sicily (November 2003); Meersman, R., Tari, Z. (eds.): OTM-WS 2003. LNCS, vol. 2889, pp. 466–478. Springer, Heidelberg (2003)

    Google Scholar 

  4. Wollrath, A., Riggs, R., Waldo, J.: A Distributed Object Model for Java Systems. In: USENIX Conference on Object-Oriented Technologies and Systems, Toronto Ontario, Canada (1996)

    Google Scholar 

  5. Java RMI Remote Method Invocation, Available on line 04/06/04 at ftp://ftp.java.sun.com/docs/j2se1.4/rmispec-1.4.pdf

  6. Real Time Java Reference Implementation RTSJ-RI, Available on line 04/06/04 at http://www.timesys.com

  7. JSR-62, Java 2 Micro-Edition Personal Profile v 1.0 reference implementation, Available 04/06/04 at http://www.sun.com

  8. Objective Interface Systems, Inc.: JCP RTSJ and Real-time CORBA Synthesis, realtime/2003-05-03, Available 05/05/04 at http://www.omg.org/docs/realtime/03-05-03.pdf

  9. J. Consortium: J-Consortium RT Core and Real-time CORBA Synthesis, realtime/2003-05-04, Available 05/05/04 at http://www.omg.org/docs/realtime/03-05-04.pdf

  10. JSR-50, Distributed Real Time Specification for Java (DRTSJ), Available 05/05/04 at http://jcp.org/en/jsr/detail?id=050

  11. Wellings, A.J., Clark, R., Jensen, D., Wells, D.: A Framework for Integrating the Real-Time Specification for Java and Java’s Remote Method Invocation. In: Proceedings of 5th IEEE International Symposium on Object-Oriented Real-Time Distributed Computting (ISORC), pp. 12–22 (2002)

    Google Scholar 

  12. Corsaro, A., Cytron, R.K.: Efficient memory-reference checks for real-time java. In: Proceedings of 2003 ACM SIGPLAN conference on Language, compiler and tool for embedded systems, pp. 51–58. ACM Press, New York (2003)

    Chapter  Google Scholar 

  13. Dibble, P.C.: Real-Time Java Platform Programming. Java Series. The Sun Microsystems Press ISBN 0-13-028261-8

    Google Scholar 

  14. Krishna, A.S., Schmidt, D.C., Klefstad, R.: Enhacing Real-time Corba via Real Time Java features. In: Proceedings of 25th IEEEInternational Conference on Distributed Computing Systems (ICDS), Tokyo, Japan, May 23-26 (2004)

    Google Scholar 

  15. OMG, Real time Corba,v2.0. formal/03-11-01, Available 04/04/04 at http://www.omg.org/cgi-bin/apps/do_doc?formal/03-11-01.pdf

  16. Java Object Serialization Specification, Available 04/04/04 at http://java.sun.com/j2se/1.4.2/docs/guide/serialization/spec/serialTOC.html

  17. Ling, S.: The Java Native Interface Programmer’s Guide and Specification, June 10, 1999, p. 320. Addison Wesley Publishing Co., Reading (1999)

    Google Scholar 

  18. Kwon, J., Wellings, A., King, s.: Predictable memory utilization in Ravenscar-Java profile. In: 6th IEEE International Symposium on Proceedings of Object-Oriented Real-Time Distributed Computing, May 14-16, pp. 24–17 (2003)

    Google Scholar 

  19. Bollela, G., Canham, T., Carson, V., et al.: Programming with Non-Heap Memory in the Real Time Specification for Java. In: 18th Annual ACM SIGPLAN Conference on Object Oriented Programming, Anaheim, CA (October 2003)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Basanta-Val, P., Garcia-Valls, M., Estévez-Ayres, I. (2004). No Heap Remote Objects: Leaving Out Garbage Collection at the Server Side. In: Meersman, R., Tari, Z., Corsaro, A. (eds) On the Move to Meaningful Internet Systems 2004: OTM 2004 Workshops. OTM 2004. Lecture Notes in Computer Science, vol 3292. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30470-8_51

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-30470-8_51

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-23664-1

  • Online ISBN: 978-3-540-30470-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics