Invention Grant
US08769230B2 Parallel, single-pass compaction in a region-based garbage collector 有权
在基于区域的垃圾回收器中并行单通道压缩

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.
Information query
Patent Agency Ranking
0/0