On bounding time and space for multiprocessor garbage collection

被引:12
|
作者
Blelloch, GE [1 ]
Cheng, P [1 ]
机构
[1] Carnegie Mellon Univ, Dept Comp Sci, Pittsburgh, PA 15213 USA
关键词
D O I
10.1145/301631.301648
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents the first multiprocessor garbage collection algorithm with provable bounds on time and space. The algorithm is a real-time shared-memory copying collector. We prove that the algorithm requires at most 2(R(1 + 2/k) + N + 5PD) memory locations, where P is the number of processors, R is the maximum reachable space during a computation (number of locations accessible from the root set), N is the maximum number of reachable objects, D is the maximum depth of any data object, and k is a parameter specifying how many locations are copied each time a location is allocated. Furthermore we show that client threads are never stopped for more than time proportional to Ic nonblocking machine instructions. The bounds are guaranteed even with arbitrary length arrays. The collector only requires write-barriers (reads are unaffected by the collector), makes few assumptions about the threads that are generating the garbage, and allows them to run mostly asynchronously.
引用
收藏
页码:104 / 117
页数:14
相关论文
共 50 条
  • [21] Hierarchical real-time garbage collection
    Pizlo, Filip
    Hosking, Antony L.
    Vitek, Jan
    ACM SIGPLAN NOTICES, 2007, 42 (07) : 123 - 133
  • [22] Garbage Collector Scheduling in Dynamic, Multiprocessor Real-Time Systems
    Cho, Hyeonjoong
    Ravindran, Binoy
    Na, Chewoo
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2009, 20 (06) : 845 - 856
  • [23] Garbage collector scheduling in dynamic, multiprocessor real-time systems
    Na, Chewoo
    Cho, Hyeonjoong
    Ravindran, Binoy
    Jensen, E. Douglas
    12TH IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS, PROCEEDINGS, 2006, : 101 - +
  • [24] Bounding Data Races in Space and Time
    Dolan, Stephen
    Sivaramakrishnan, Kc
    Madhavapeddy, Anil
    PROCEEDINGS OF THE 39TH ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, PLDI 2018, 2018, : 242 - 255
  • [25] Bounding Data Races in Space and Time
    Dolan, Stephen
    Sivaramakrishnan, K. C.
    Madhavapeddy, Anil
    ACM SIGPLAN NOTICES, 2018, 53 (04) : 242 - 255
  • [27] Idle-Time Garbage-Collection Scheduling
    Degenbaev, Ulan
    Eisinger, Jochen
    Ernst, Manfred
    McIlroy, Ross
    Payer, Hannes
    COMMUNICATIONS OF THE ACM, 2016, 59 (10) : 34 - 39
  • [28] Java']Java garbage collection for real time systems
    Petit-Bianco, A
    DR DOBBS JOURNAL, 1998, 23 (10): : 20 - +
  • [29] A real-time relaxed garbage collection in DSM
    Wu Junmin
    Song Zhenhua
    CHINESE JOURNAL OF ELECTRONICS, 2007, 16 (01): : 7 - 12
  • [30] Scheduling of hard real-time garbage collection
    Schoeberl, Martin
    REAL-TIME SYSTEMS, 2010, 45 (03) : 176 - 213