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 条
  • [41] Eliminating garbage collection for embedded real-time software
    Mohamed, N
    Al-Jaroodi, J
    ESA '05: Proceedings of the 2005 International Conference on Embedded Systems and Applications, 2005, : 10 - 16
  • [42] Garbage Collection for Flexible Hard Real-Time Systems
    Chang, Yang
    Wellings, Andy
    IEEE TRANSACTIONS ON COMPUTERS, 2010, 59 (08) : 1063 - 1075
  • [43] RELIABLE REAL-TIME GARBAGE COLLECTION OF C++
    NILSEN, K
    COMPUTING SYSTEMS, 1994, 7 (04): : 467 - 504
  • [44] Syncopation: Generational real-time garbage collection in the metronome
    Bacon, DF
    Cheng, P
    Grove, D
    Vechev, MT
    ACM SIGPLAN NOTICES, 2005, 40 (07) : 183 - 192
  • [45] A hard look at hard real-time garbage collection
    Detlefs, D
    SEVENTH IEEE INTERNATIONAL SYMPOSIUM ON OBJECT-ORIENTED REAL-TIME DISTRIBUTED COMPUTING, PROCEEDINGS, 2004, : 23 - 32
  • [46] Unconventional GVNS for Solving the Garbage Collection Problem with Time Windows
    Papalitsas, Christos
    Andronikos, Theodore
    TECHNOLOGIES, 2019, 7 (03)
  • [47] A simple generational real-time garbage collection scheme
    Ali, KAM
    NEW GENERATION COMPUTING, 1998, 16 (02) : 201 - 221
  • [48] A simple generational real-time garbage collection scheme
    Khayri A. M. Ali
    New Generation Computing, 1998, 16 : 201 - 221
  • [49] The Cleanest Garbage Collection
    Moss, Eliot
    COMMUNICATIONS OF THE ACM, 2013, 56 (12) : 100 - 100
  • [50] Real-Time Garbage Collection for a Multithreaded Java Microcontroller
    Matthias Pfeffer
    Theo Ungerer
    Stephan Fuhrmann
    Jochen Kreuzinger
    Uwe Brinkschulte
    Real-Time Systems, 2004, 26 : 89 - 106