Skip to main content

Advertisement

Log in

Vectorized garbage collection

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

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-first 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. We give performance measurements of the algorithm as implemented for Lisp CONS cells on the Cyber 205. Vector-mode garbage collection performs up to nine times faster than scalar-mode collection-a worthwhile improvement.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  • Anderson, W., Galway, W., Kessler, R., Melenk, H., and Neun, W. 1987. The implementation and optimization of Portable Standard Lisp for the Cray. In Proc., 20th Annual Hawaii International Conf. on Science Systems (Jan.).

  • Appel, A.W. 1987. Garbage collection can be faster than stack allocation. Information Processing Letters, 25, 4: 275–279.

    Google Scholar 

  • Appel, A.W., and MacQueen, D.B. 1987. A standard ML compiler. In Functional Programming Languages and Computer Architecture (LNCS 274), Springer Verlag, pp. 301–324.

  • Cheney, C.J. 1970. A nonrecursive list compacting algorithm. Communications of the ACM, 13, 11: 677–678.

    Google Scholar 

  • Control Data Corporation. 1986. CDC Cyber 200 Vector C. Pub. no. 60000018.

  • Eckstein, D.M. 1977. Parallel processing using depth-first and breadth-first search. Ph.D. thesis, Univ. of Iowa.

  • Stephens, J. 1989 (Feb.). Personal communication. Cray Research.

  • Ungar, D. 1984. Generation scavenging: A non-disruptive high performance storage reclamation algorithm. SIGPLAN Notices, 19, 5: 157–167. (Proc., ACM SIGSOFT/SIGPLAN Software Engineering Symposium on Practical Software Development Environments).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

Supported in part by NSF Grants DCR-8603543 and CCR-8806121, and by a Digital Equipment Corp. Faculty Incentive Grant.

Supported by the NSF Research Experiences for Undergraduates program.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Appel, A.W., Bendiksen, A. Vectorized garbage collection. J Supercomput 3, 151–160 (1989). https://doi.org/10.1007/BF00127826

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF00127826

Keywords