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.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Conger, D.: Remoting with C# and.NET: Remote Objects for Distributed Applications. John Wiley, Chichester (2003)
Jones, R., Lins, R.: Garbage Collection: Algorithms for automatic Dynamic Memory Management. John Wiley and Sons, Chichester (1998)
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)
Ungar, D.: The Design and Evaluation of a High Performance Smalltalk System. ACM Distinguished Dissertations (1987)
IBM: Jikes research virtual machine (2004), http://www-124.ibm.com/developerworks/oss/jikesrvm/
Stutz, D., Neward, T., Shilling, G.: Shared Source CLI Essentials. O’Reilly and Associates, Sebastopol (2003)
Sun Microsystems: Java Embedded Server (2001), http://www.sun.com/software/embeddedserver
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)
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)
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)
Buss, L.: SIMPLEPLOT.NET (2002), http://www.buss.co.uk/buss/dnet.htm
Nutt, G.: Distributed Virtual Machines: Inside the Rotor CLI. Addison Wesley, Reading (2005)
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)
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)
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)
Sun Microsystems: The java hotspot virtual machine, v1.4.1 (2003), http://java.sun.com/products/hotspot/
Richter, J.: Garbage Collection: Automatic Memory Management in the Microsoft.NET Framework (2000), http://msdn.microsoft.com/msdnmag/issues/1100/GCI/default.aspx
Rammer, I.: Advanced.NET Remoting. Apress (2002)
Browning, D.: Integrate.net remoting into the enterprise.NET Magazine (2002)
Hirzel, M., Henkel, J., Diwan, A., Hind, M.: Understanding the connectivity of heap objects. In: ISMM, Berlin, Germany (2002)
McLean, S., Naftel, J., Williams, K.: Microsoft.NET Remoting. Microsoft Press, Redmond (2003)
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
Srinivasan, P.: An Introduction to Microsoft.NET Remoting Framework (2001), http://msdn.microsoft.com/library/en-us/dndotnet/html/introremoting.asp
Wiener, R.: Remoting in C# and.NET. Journal of Object Technology 3, 83–100 (2004)
XML.com: XDB Gateway (Database-to-XML Gateway) (2003), http://www.xml.com/pub/p/760
Long, J.: Remoting in microsoft product. Private e-mail correspondant (2004)
MySQL-AB: Mysql dbms (2004), http://www.mysql.com
Pietrek, M.: Under the Hood (2005), http://msdn.microsoft.com/msdnmag/issues/01/12/hood/
Microsoft: Microsoft office online (2004), http://office.microsoft.com
SPEC: Standard performance evaluation corporation jvm98 (1999), http://www.spec.org/osg/jvm98
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)
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)
Vinoski, S.: New Features for CORBA 3. 0. Commun. ACM 41, 44–52 (1998)
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)
Ryu, S.W., Neuman, B.C.: Garbage collection for distributed persistent objects (1998), http://www.objs.com/workshops/ws9801/papers/paper015.html
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)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)