Vectorized Garbage Collection

Report ID: TR-169-88
Author: Appel, Andrew W. / Bendiksen, Aage
Date: 1988-07-00
Pages: 6
Download Formats: |PDF|
Abstract:

Garbage collection can be done in vector mode on supercomputers like the Cray-2 and the Cyber 205. Both copying collection and mark-and-sweep can be expressed as breadth- rst searches in which the "queue" can be processed in parallel. We have designed a copying garbage collector whose inner loop works entirely in vector mode. The only significant limitation of the algorithm is that if the size of the records is not constant, the implementation becomes much more complicated. We give performance measurements of the algorithm as implemented for Lisp CONS cells on the Cyber 205. Vector-mode garbage collection performs up to 9 times faster than scalar-mode collection - a worthwhile improvement.