The Community for Technology Leaders
Green Image
Issue No. 11 - Nov. (2012 vol. 61)
ISSN: 0018-9340
pp: 1611-1623
Shaoshan Liu , Microsoft, Redmond
Jie Tang , Beijing Institute of Technology, Beijing
Jean-Luc Gaudiot , University of California, Irvine
Xiao-Feng Li , Intel Research, Beijing
Ligang Wang , Intel Research, Beijing
ABSTRACT
The fundamental challenge of garbage collector (GC) design is to maximize the recycled space with minimal time overhead. For efficient memory management, in many GC designs the heap is divided into large object space (LOS) and normal object space (non-LOS). When either space is full, garbage collection is triggered even though the other space may still have plenty of room, thus leading to inefficient space utilization. Also, space partitioning in existing GC designs implies different GC algorithms for different spaces. This not only prolongs the pause time of garbage collection, but also makes collection inefficient on multiple spaces. To address these problems, we propose Packer, a parallel garbage collection algorithm based on the novel concept of virtual spaces. Instead of physically dividing the heap into multiple spaces, Packer manages multiple virtual spaces in one physical space. With multiple virtual spaces, Packer offers efficient memory management. With one physical space, Packer avoids the problem of an inefficient space utilization. To reduce the garbage collection pause time, we also propose a novel parallelization method that is applicable to multiple virtual spaces. Specifically, we reduce the compacting GC parallelization problem into a discreted acyclic graph (DAG) traversal parallelization problem, and apply it to both normal and large object compaction.
INDEX TERMS
Resource management, Algorithm design and analysis, Compaction, Memory management, Aerospace electronics, Partitioning algorithms, Synchronization, Java virtual machine, Resource management, Algorithm design and analysis, Compaction, Memory management, Aerospace electronics, Partitioning algorithms, Synchronization, memory management, Resource management, Algorithm design and analysis, Compaction, Memory management, Aerospace electronics, Partitioning algorithms, Synchronization, parallel systems, Garbage collection
CITATION
Shaoshan Liu, Jie Tang, Jean-Luc Gaudiot, Xiao-Feng Li, Ligang Wang, "Packer: Parallel Garbage Collection Based on Virtual Spaces", IEEE Transactions on Computers, vol. 61, no. , pp. 1611-1623, Nov. 2012, doi:10.1109/TC.2011.193
100 ms
(Ver )