Skip to search boxSkip to navigationSkip to main content

Concurrent, parallel garbage collection in linear time

  • Steven R. Brandt
    ,
  • Hari Krishnan
    ,
  • Gokarna Sharma
    ,
  • Louisiana State University
Scholary Output:
Contribution to journal
Article
Peer-review

Related Event

Title

2014 ACM SIGPLAN International Symposium on Memory Management, ISMM 2014

Event type

Conference

Date

06/12/2014

Location

EdinburghUnited Kingdom

Abstract

This paper presents a new concurrent garbage collection algorithm based on two types of reference, strong and weak, to link the graph of objects. Strong references connect the roots to all the nodes in the graph but do not contain cycles.Weak references may, however, contain cycles. Advantages of this system include: (1) reduced processing, nontrivial garbage collection work is only required when the last strong reference is lost; (2) fewer memory traces to delete objects, a garbage cycle only needs to be traversed twice to be deleted; (3) fewer memory traces to retain objects, since the collector can often prove objects are reachable without fully tracing support cycles to which the objects belong; (4) concurrency, it can run in parallel with a live system without "stopping the world;" (5) parallel, because collection operations in different parts of the memory can proceed at the same time. Previous variants of this technique required exponential cleanup time [27, 31], but our algorithm is linear in total time, i.e. any changes in the graph take only O(N) time steps, where N is the number of edges in the affected subgraph (e.g. the subgraph whose strong support is affected by the operations).

Publication Information

Output type

Scholary Output:
Contribution to journal
Article
Peer-review

Original language

English (US)

Pages from-to (Number of pages)

Pages 47-58 (12 pages)

Journal (Volume, Issue Number)

International Symposium on Memory Management, ISMM (Volume 49, Issue 11)

Publication milestones

  • Published - 06/12/2014

Publication status

Published - 06/12/2014

Publication IDs

  • Scopus: 84984698605
  • Scopus: 85112869039

Publication metrics

Metrics

Scopus
citations
SciVal
FWCI
0.23
SciVal
Author count
4
SciVal
citations
4
SciVal
Paper percentile
50
Fractional count
1
Fractional count
0.25
Fractional count
3
Fractional count
0.75
Fractional count
1
Fractional count
1

PlumX, opens in new tab

Captures
9
Citation count
4

Funding Details

We acknowledge the support of the following grants: The DoE XPRESS proposal (DE-SC0008714), and the NSF PXGL (1160602). We thank Frank Löffler and Hartmut Kaiser for helpful conversations.