Patent · US Active

Parallel, single-pass compaction in a region-based garbage collector

US8769230B2 · kind B2 · utility

2Cited by
2References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMar 28, 2012
Grant dateJul 1, 2014
Priority date
Expiry dateAug 24, 2032

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F12/0269
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method to implement parallel, single-pass compaction in a garbage collector is described. In one embodiment, such a method includes conducting a planning phase for multiple regions to be compacted. During the planning phase, the method determines new locations for data entities in the multiple regions. The method then performs a move phase for the multiple regions to move the data entities to their new locations. During the move phase, the method initiates multiple compaction threads to move the data entities to their new locations. While executing, the compaction threads dynamically build a dependency graph of the regions being compacted. The dependency graph guarantees that no data entity is moved to its new location until all data entities that it overwrites have been moved to their new locations. A corresponding computer program product and apparatus are also disclosed herein.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.