Open Systems Laboratory at Illinois

Using passive object garbage collection algorithms for garbage collection of active objects

By Abhay Vardhan and Gul Agha. In MSP/ISMM, 213–220. ACM, 2002.

Full Text:
Download PDF
Publisher Link:
http://doi.acm.org/10.1145/773039.512443

Abstract

With the increasing use of active object systems, agents and concurrent object oriented languages like Java, the problem of garbage collection (GC) of unused resources has become more complex. Since active objects are autonomous computational agents, unlike passive object systems the criterion for identifying garbage in active objects cannot be based solely on reachability from a root set. This has led to development of specialized algorithms for GC of active objects. We reduce the problem of GC of active objects to that of passive objects by providing a transformation of the active object reference graph to a passive object reference graph so that if a garbage collector for a passive object system is applied to the transformed graph, precisely those objects are collected which correspond to garbage objects in the original active object reference graph. The transformation technique enables us to reuse the algorithms already developed for passive objects systems. We provide a proof of correctness of the transformation and discuss its cost. An advantage of the transformation is that it can prove valuable for mixed systems of active and passive objects by providing a common approach to GC.

BibTeX

@inproceedings{conf/iwmm/VardhanA02,
    author = "Vardhan, Abhay and Agha, Gul",
    editor = "Boehm, Hans-Juergen and Detlefs, David",
    title = "Using passive object garbage collection algorithms for
             garbage collection of active objects",
    booktitle = "MSP/ISMM",
    crossref = "conf/iwmm/2002",
    ee = "http://doi.acm.org/10.1145/773039.512443",
    pages = "213-220",
    year = "2002",
}

@proceedings{conf/iwmm/2002,
    editor = "Boehm, Hans-Juergen and Detlefs, David",
    title = "Proceedings of The Workshop on Memory Systems Performance
             (MSP 2002), June 16, 2002 and The International Symposium on
             Memory Management (ISMM 2002), June 20-21, 2002, Berlin, Germany",
    ee = "http://dl.acm.org/citation.cfm?id=512429",
    isbn = "1-58113-539-4",
    publisher = "ACM",
    year = "2002",
}