Parallel, single-pass compaction in a region-based garbage collector
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for implementing parallel, single-pass compaction in a garbage collector, the method comprising: conducting a planning phase for a plurality of regions to be compacted, wherein conducting the planning phase comprises determining new locations for data entities in the plurality of regions; and performing a move phase for the plurality of regions to move the data entities to their new locations, wherein performing the move phase comprises: initiating a plurality of compaction threads to move the data entities to their new locations; and dynamically building a dependency graph of the reg
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (2)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 7,340,494 B1 | Garbage-first garbage collection | 2008 | 54 |
| US 7,584,232 B2 | System and method for computer automatic memory management | 2009 | 44 |
Non-Patent Literature (3)
- Abuaiadh, et al., "An Efficient Parallel Heap Compaction Algorithm", Proceedings of the 19th Annual ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications , 2004.
- Kermany, et al., "The Compressor: Concurrent, Incremental, and Parallel Compaction", PLDI'06, pp. 354-363, 2006.
- Liu, et al. "Space-and-Time Efficient Parallel Garbage Collector for Data-Intensive Applications." International Journal of Parallel Programming, DOI: 10.1007/s10766-010-0151-4, Oct. 2010.