Skip to main content

Garbage Collection in the Presence of Remote Objects: An Empirical Study

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 3761))

Abstract

Most virtual machine implementations employ generational garbage collection to manage dynamically allocated memory. Studies have shown that these generational schemes work efficiently in desktop-like applications where most objects are short-lived. The performance of generational collectors, however, has been rarely studied in the context of distributed systems.

Given the increasing popularity of such systems, and the distinct type of objects they introduce to support the distributed paradigm, providing insights into their memory allocation behavior could have a large impact on the design of future garbage collection techniques, and in the implementation of such distributed systems as well.

This work presents one of the first attempts to characterize the lifespan of objects in distributed systems. First, we empirically study the differences in lifespan of remote and local objects. Second, we investigate the effects of ephemeral heap size and workload on the lifespan or remote objects. Last, we utilize the insights gained through the experiment to improve the efficiency of a generational collection scheme through the segregation of objects based on their locality.

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

Buying options

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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Conger, D.: Remoting with C# and.NET: Remote Objects for Distributed Applications. John Wiley, Chichester (2003)

    Google Scholar 

  2. Jones, R., Lins, R.: Garbage Collection: Algorithms for automatic Dynamic Memory Management. John Wiley and Sons, Chichester (1998)

    Google Scholar 

  3. Rovner, P.: On Adding Garbage Collection and Runtime Types to a Strongly-Typed, Statically-Checked, Concurrent Language. Technical Report CSL-84-7, Xerox PARC (1985)

    Google Scholar 

  4. Ungar, D.: The Design and Evaluation of a High Performance Smalltalk System. ACM Distinguished Dissertations (1987)

    Google Scholar 

  5. IBM: Jikes research virtual machine (2004), http://www-124.ibm.com/developerworks/oss/jikesrvm/

  6. Stutz, D., Neward, T., Shilling, G.: Shared Source CLI Essentials. O’Reilly and Associates, Sebastopol (2003)

    Google Scholar 

  7. Sun Microsystems: Java Embedded Server (2001), http://www.sun.com/software/embeddedserver

  8. Dykstra, L., Srisa-an, W., Chang, J.M.: An Analysis of the Garbage Collection Performance in Sun’s HotSpot JVM. In: Proceedings of 21th IEEE International Performance Computing and Communications Conference (IPCCC), Phoenix, Arizona, April 3-5, pp. 335–339 (2002)

    Google Scholar 

  9. Yang, Q., Srisaan, W., Skotiniotis, T., Chang, J.M.: Java Virtual Machine Timing Probes: A Study of Object Lifespan and Garbage Collection. In: Proceedings of 21st IEEE International Performance Computing and Communication Conference (IPCCC 2002), Phoenix Arizona, April 3-5, pp. 73–80 (2002)

    Google Scholar 

  10. Abramson, D., Watson, G., Dung, L.: Guard: A Tool for Migrating Scientific Applications to the.NET Framework. In: Proceedings of International Conference on Computational Science (ICCS 2002), Amsterdam, The Netherlands, pp. 834–843 (2002)

    Google Scholar 

  11. Buss, L.: SIMPLEPLOT.NET (2002), http://www.buss.co.uk/buss/dnet.htm

  12. Nutt, G.: Distributed Virtual Machines: Inside the Rotor CLI. Addison Wesley, Reading (2005)

    Google Scholar 

  13. Blackburn, S.M., Singhai, S., Hertz, M., McKinely, K.S., Moss, J.E.B.: Pretenuring for java. In: Proceedings of the OOPSLA 2001 Conference on Object Oriented Programming Systems Languages and Applications, Tampa Bay, FL (2001)

    Google Scholar 

  14. Huang, W., Srisaan, W., Chang, J.: Dynamic Pretenuring Schemes for Generational Garbage Collection. In: Proceedings of 2004 IEEE International Symposium on Performance Analysis of Systems and Software, Austin, Texas, pp. 133–140 (2001)

    Google Scholar 

  15. Jump, M., Blackburn, S.M., McKinley, K.S.: Dynamic Object Sampling for Pretenuring. In: ISMM 2004: Proceedings of the 4th International Symposium on Memory Management, pp. 152–162. ACM Press, New York (2004)

    Chapter  Google Scholar 

  16. Sun Microsystems: The java hotspot virtual machine, v1.4.1 (2003), http://java.sun.com/products/hotspot/

  17. Richter, J.: Garbage Collection: Automatic Memory Management in the Microsoft.NET Framework (2000), http://msdn.microsoft.com/msdnmag/issues/1100/GCI/default.aspx

  18. Rammer, I.: Advanced.NET Remoting. Apress (2002)

    Google Scholar 

  19. Browning, D.: Integrate.net remoting into the enterprise.NET Magazine (2002)

    Google Scholar 

  20. Hirzel, M., Henkel, J., Diwan, A., Hind, M.: Understanding the connectivity of heap objects. In: ISMM, Berlin, Germany (2002)

    Google Scholar 

  21. McLean, S., Naftel, J., Williams, K.: Microsoft.NET Remoting. Microsoft Press, Redmond (2003)

    Google Scholar 

  22. Obermeyer, P., Hawkins, J.: Microsoft.NET Remoting: A Technical Overview (2005), http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/hawkremoting.asp

  23. Srinivasan, P.: An Introduction to Microsoft.NET Remoting Framework (2001), http://msdn.microsoft.com/library/en-us/dndotnet/html/introremoting.asp

  24. Wiener, R.: Remoting in C# and.NET. Journal of Object Technology 3, 83–100 (2004)

    Article  Google Scholar 

  25. XML.com: XDB Gateway (Database-to-XML Gateway) (2003), http://www.xml.com/pub/p/760

  26. Long, J.: Remoting in microsoft product. Private e-mail correspondant (2004)

    Google Scholar 

  27. MySQL-AB: Mysql dbms (2004), http://www.mysql.com

  28. Pietrek, M.: Under the Hood (2005), http://msdn.microsoft.com/msdnmag/issues/01/12/hood/

  29. Microsoft: Microsoft office online (2004), http://office.microsoft.com

  30. SPEC: Standard performance evaluation corporation jvm98 (1999), http://www.spec.org/osg/jvm98

  31. Dieckmann, S., Hölzle, U.: A Study of the Allocation Behavior of the SPECjvm 1998 Java Benchmarks. In: Proceedings of the European Conference on Object-Oriented Programming (1999)

    Google Scholar 

  32. Stefanović, D., Moss, J.E.B.: Characterization of Object Behaviour in Standard ML of New Jersey. In: LFP 1994: Proceedings of the 1994 ACM conference on LISP and functional programming, pp. 43–54. ACM Press, New York (1994)

    Chapter  Google Scholar 

  33. Vinoski, S.: New Features for CORBA 3. 0. Commun. ACM 41, 44–52 (1998)

    Article  Google Scholar 

  34. Kleindienst, J., Plasil, F., Tuma, P.: Lessons Learned from Implementing the CORBA Persistent Object Service. In: Proceedings of the 11th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, pp. 150–167. ACM Press, New York (1996)

    Chapter  Google Scholar 

  35. Ryu, S.W., Neuman, B.C.: Garbage collection for distributed persistent objects (1998), http://www.objs.com/workshops/ws9801/papers/paper015.html

  36. Hertz, M., Blackburn, S.M., Moss, J.E.B., McKinley, K.S., Stefanović, D.: Error-free garbage collection traces: how to cheat and not get caught. In: SIGMETRICS 2002: Proceedings of the 2002 ACM SIGMETRICS International Conference on Measurement and Modeling of Computer Systems, pp. 140–151. ACM Press, New York (2002)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Srisa-an, W., Oey, M., Elbaum, S. (2005). Garbage Collection in the Presence of Remote Objects: An Empirical Study. In: Meersman, R., Tari, Z. (eds) On the Move to Meaningful Internet Systems 2005: CoopIS, DOA, and ODBASE. OTM 2005. Lecture Notes in Computer Science, vol 3761. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11575801_9

Download citation

  • DOI: https://doi.org/10.1007/11575801_9

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-29738-3

  • Online ISBN: 978-3-540-32120-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics