Cache performance of garbage-collected programs
Author:
Open Access
- 1 June 1994
- conference paper
- Published by Association for Computing Machinery (ACM)
- Vol. 29 (6) , 206-217
Abstract
As processor speeds continue to improve relative to main-memory access times, cache performance is becoming an increasingly important component of program performance. Prior work on the cache performance of garbage-collected programs either argues or assumes that conventional garbage-collection methods will yield poor performance, and has therefore concentrated on new collection algorithms designed specifically to improve cache-level reference locality.This paper argues to the contrary: Many programs written in garbage-collected languages are naturally well-suited to the direct-mapped caches typically found in modern computer systems. Garbage-collected programs written in a mostly-functional style should perform well when simple linear storage allocation and an infrequently-run generational compacting collector are employed; sophisticated collectors intended to improve cache performance are unlikely to be necessary. As locality becomes ever more important to program performance, programs of this kind may turn out to have a significant performance advantage over programs written in traditional languages.Keywords
This publication has 20 references indexed in Scilit:
- Cache behavior of combinator graph reductionACM Transactions on Programming Languages and Systems, 1992
- The cache performance and optimizations of blocked algorithms1991
- IMPS : An interactive mathematical proof system1990
- Simple generational garbage collection and fast allocationSoftware: Practice and Experience, 1989
- Improving locality of reference in a garbage-collecting memory management systemCommunications of the ACM, 1988
- Revised 3 report on the algorithmic language schemeACM SIGPLAN Notices, 1986
- A real-time garbage collector based on the lifetimes of objectsCommunications of the ACM, 1983
- An efficient interpreter for the lambda-calculusJournal of Computer and System Sciences, 1981
- A nonrecursive list compacting algorithmCommunications of the ACM, 1970
- A LISP garbage-collector for virtual-memory computer systemsCommunications of the ACM, 1969