GPUs: An Opportunity for Offloading Garbage Collection

TitleGPUs: An Opportunity for Offloading Garbage Collection
Publication TypeConference Paper
Year of Publication2012
AuthorsMaas M, Reames P, Morlan J, Asanović K, Joseph AD, Kubiatowicz JD
Other Numbers3454
KeywordsAPU, GPU, mark and sweep, parallel garbage collection, SIMT
Abstract

GPUs have become part of most commodity systems. Nonetheless, they are often underutilized when not executing graphics intensive or special-purpose numerical computations, which are rare in consumer workloads. Emerging architectures, such as integrated CPU/GPU combinations, may create an opportunity to utilize these otherwise unused cycles for offloading traditional systems tasks. Garbage collection appears to be a particularly promising candidate for offloading, due to the popularity of managed languages on consumer devices.

We investigate the challenges for offloading garbage collection to a GPU, by examining the performance trade-offs for the mark phase of a mark & sweep garbage collector. We present a theoretical analysis and an algorithm that demonstrates the feasibility of this approach. We also discuss a number of algorithmic design trade-offs required to leverage the strengths and capabilities of the GPU hardware. Our algorithm has been integrated into the Jikes RVM and we present promising performance results.

Categories and Subject Descriptors: D.3.4 [Processors]: Memory management (garbage collection); I.3.1 [Hardware Architecture]: Parallel processing

URLhttps://www.icsi.berkeley.edu/pubs/arch/ICSI_gpusanopportunity12.pdf
Bibliographic Notes

Proceedings of the International Symposium on Memory Management (ISMM-2012), Beijing, China

Abbreviated Authors

M. Maas, P. Reames, J. Morlan, K. Asanovi?, A. D. Joseph, and J. Kubiatowicz

ICSI Research Group

Architecture

ICSI Publication Type

Article in conference proceedings