The One Pass (OP) Compactor: An Intellectual Abstract

Tomer Cory, Erez Petrank

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Compaction algorithms alleviate fragmentation by relocating heap objects to compacted areas. A full heap compaction eliminates fragmentation by compacting all objects into the lower addresses of the heap. Following a marking phase that marks all reachable (live) objects, the compactor needs to copy all marked objects to the beginning of the address space and fix all pointers to reference the new object locations. Initially, this process required three heap passes (beyond the marking phase). However, modern algorithms, culminating in the Compressor, have reduced this cost to a single heap pass plus a single pass over an auxiliary table, that is smaller than (yet proportional to) the size of the heap. In this paper, we introduce the One Pass (OP) Compactor: a novel combination of existing compactors that reduces the complexity of compaction to a single heap pass. This represents arguably the best possible complexity for a compaction algorithm. Additionally, we extend the OP compactor with a parallel version, enabling scalability on a multicore platform. This paper is classified as an intellectual abstract because it introduces the new algorithm but does not provide an accompanying implementation and evaluation.

Original languageEnglish
Title of host publicationISMM 2024 - Proceedings of the 2024 ACM SIGPLAN International Symposium on Memory Management, Co-located with
Subtitle of host publicationPLDI 2024
EditorsMichael D. Bond, Jae W. Lee, Hannes Payer
Pages108-120
Number of pages13
ISBN (Electronic)9798400706158
DOIs
StatePublished - 20 Jun 2024
Externally publishedYes
Event23rd ACM SIGPLAN International Symposium on Memory Management, ISMM 2024 - Copenhagen, Denmark
Duration: 25 Jun 2024 → …

Publication series

NameInternational Symposium on Memory Management, ISMM

Conference

Conference23rd ACM SIGPLAN International Symposium on Memory Management, ISMM 2024
Country/TerritoryDenmark
CityCopenhagen
Period25/06/24 → …

Keywords

  • Compaction
  • Garbage collection
  • Memory management
  • Parallel Compaction
  • Parallel garbage collection

All Science Journal Classification (ASJC) codes

  • Hardware and Architecture
  • Software

Fingerprint

Dive into the research topics of 'The One Pass (OP) Compactor: An Intellectual Abstract'. Together they form a unique fingerprint.

Cite this