Concurrent Garbage Collection in the Actor Model

被引:1
|
作者
Plyukhin, Dan [1 ]
Agha, Gul [1 ]
机构
[1] Univ Illinois, Urbana, IL 61801 USA
基金
美国国家科学基金会;
关键词
garbage collection; distributed systems;
D O I
10.1145/3281366.3281368
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In programming languages where memory may be allocated dynamically, automatic garbage collection (GC) can improve the efficiency of program execution while preventing program errors caused by incorrectly removed memory locations. In actor systems, GC poses some challenges that make it much costlier than in the sequential setting: Besides references from reachable actors, we have to consider inverse references from potentially active actors to reachable actors. One proposal, adopted in the runtime for the actor programming language Pony, uses causal message delivery and a centralized detection algorithm. While this is efficient in a multicore setting, the solution is too expensive for a distributed actor runtime. In this work, we show how the causal order message delivery requirement may be removed. Specifically, we describe a tracing collector of distributed actor garbage with centralized and decentralized variants. Both are guaranteed not to collect any non-garbage actors (safety) and to eventually collect all garbage actors (liveness).
引用
收藏
页码:44 / 53
页数:10
相关论文
共 50 条
  • [1] Mostly concurrent garbage collection revisited
    Barabash, K
    Ossia, Y
    Petrank, E
    [J]. ACM SIGPLAN NOTICES, 2003, 38 (11) : 255 - 268
  • [2] CONCURRENT GARBAGE COLLECTION ON STOCK HARDWARE
    NORTH, SC
    REPPY, JH
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1987, 274 : 113 - 133
  • [3] Concurrent garbage collection in O2
    Skubiszewski, M
    Valduriez, P
    [J]. PROCEEDINGS OF THE TWENTY-THIRD INTERNATIONAL CONFERENCE ON VERY LARGE DATABASES, 1997, : 356 - 365
  • [4] CONCURRENT AND DISTRIBUTED GARBAGE COLLECTION OF ACTIVE OBJECTS
    KAFURA, D
    MUKHERJI, M
    WASHABAUGH, DM
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 1995, 6 (04) : 337 - 350
  • [5] Age-oriented concurrent garbage collection
    Paz, H
    Petrank, E
    Blackburn, SM
    [J]. COMPILER CONSTRUCTION, PROCEEDINGS, 2005, 3443 : 121 - 136
  • [6] Concurrent, Parallel Garbage Collection in Linear Time
    Brandt, Steven R.
    Krishnan, Hari
    Sharma, Gokarna
    Busch, Costas
    [J]. ACM SIGPLAN NOTICES, 2014, 49 (11) : 47 - 58
  • [7] Conservative snapshot-based actor garbage collection for distributed mobile actor systems
    Wei-Jen Wang
    [J]. Telecommunication Systems, 2013, 52 : 647 - 660
  • [8] Conservative snapshot-based actor garbage collection for distributed mobile actor systems
    Wang, Wei-Jen
    [J]. TELECOMMUNICATION SYSTEMS, 2013, 52 (02) : 647 - 660
  • [9] Simple concurrent garbage collection almost without synchronization
    Wim H. Hesselink
    M. I. Lali
    [J]. Formal Methods in System Design, 2010, 36 : 148 - 166
  • [10] Simple concurrent garbage collection almost without synchronization
    Hesselink, Wim H.
    Lali, M. I.
    [J]. FORMAL METHODS IN SYSTEM DESIGN, 2010, 36 (02) : 148 - 166