• DocumentCode
    2027363
  • Title

    A graph-based algorithm of mostly incremental garbage collection for active object systems

  • Author

    Yung, Chung ; Syu, Jheng-Jyun ; Yang, Shiang-Yu

  • Author_Institution
    Dept. of Comput. Sci. & Inf. Eng., Nat. Dong Hwa Univ., Hualien, Taiwan
  • fYear
    2010
  • fDate
    16-18 Dec. 2010
  • Firstpage
    988
  • Lastpage
    996
  • Abstract
    This paper proposes a new graph-based algorithm of mostly incremental garbage collection for active object systems. Garbage collection is an automatic memory management that reclaims the memory no longer referenced by programs. The actor model is a framework for active objects, in which garbage collection is more complicated than the conventional object oriented environments. The garbage collection for active objects usually requires a longer pause time of the system. To reduce the pause time, we propose a new mostly incremental approach of garbage collection for active object systems. Our incremental garbage collection uses a weighted augmented actor reference (WAAR) graph of the active objects. In the WAAR graph, we augment the object reference graph with auxiliary edges, some of which are assigned with weights to support efficient garbage collection. The edges and weights in the WAAR graph are updated incrementally during execution of the program. When the system gets into the stop-the-world phase and all threads stop, our incremental garbage collector quickly marks all the non-garbage active objects with all the needed information available in the WAAR graph. Hence, the pause time of the system for garbage collection is reduced. In our experiment, our new garbage collection effectively reduces the pause time of the systems without sacrificing too much throughput. Compared with the incremental push-pull garbage collection, the pause time of the systems is reduced by 34.33% and the total run time is reduced by 35.3% with our garbage collection, in average.
  • Keywords
    graph theory; object-oriented programming; storage management; WAAR; active object systems; actor model; automatic memory management; auxiliary edges; graph based algorithm; incremental garbage collection; object oriented environments; push-pull garbage collection; stop-the-world phase; weighted augmented actor reference; Computational modeling; Data models; Instruction sets; Memory management; Object oriented modeling; Postal services; Software algorithms; Garbage collection; active objects; actor model; incremental algorithms;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Symposium (ICS), 2010 International
  • Conference_Location
    Tainan
  • Print_ISBN
    978-1-4244-7639-8
  • Type

    conf

  • DOI
    10.1109/COMPSYM.2010.5685367
  • Filename
    5685367