Skip to main navigation Skip to search Skip to main content

Garbage Collection Without Paging

  • University of Massachusetts

Research output: Contribution to conferencePaperpeer-review

61 Scopus citations

Abstract

Garbage collection offers numerous software engineering advantages, but interacts poorly with virtual memory managers. Existing garbage collectors require far more pages than the application's working set and touch pages without regard to which ones are in memory, especially during full-heap garbage collection. The resulting paging can cause throughput to plummet and pause times to spike up to seconds or even minutes. We present a garbage collector that avoids paging. This bookmarking collector cooperates with the virtual memory manager to guide its eviction decisions. Using summary information ("bookmarks") recorded from evicted pages, the collector can perform in-memory full-heap collections. In the absence of memory pressure, the bookmarking collector matches the throughput of the best collector we tested while running in smaller heaps. In the face of memory pressure, it improves throughput by up to a factor of five and reduces pause times by up to a factor of 45 over the next best collector. Compared to a collector that consistently provides high throughput (generational mark-sweep), the bookmarking collector reduces pause times by up to 218x and improves throughput by up to 41x. Bookmarking collection thus provides greater utilization of available physical memory than other collectors while matching or exceeding their throughput.

Original languageEnglish
Pages143-153
Number of pages11
DOIs
StatePublished - 2005
Event2005 ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI 05 - Chicago, IL, United States
Duration: Jun 12 2005Jun 15 2005

Conference

Conference2005 ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI 05
Country/TerritoryUnited States
CityChicago, IL
Period06/12/0506/15/05

Keywords

  • Bookmarking collection
  • Garbage collection
  • Generational collection
  • Memory pressure
  • Paging
  • Virtual memory

Fingerprint

Dive into the research topics of 'Garbage Collection Without Paging'. Together they form a unique fingerprint.

Cite this