© 1978 by British Computer Society
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
A note on compacting garbage collection
University of Cambridge Computer Laboratory, Corn Exchange Street, Cambridge, UK
A variation of the Haddon and Waite compacting garbage collector is presented that needs only bounded workspace, but which has typical runtime proportional to the size of the heap rather than n log n for a heap of size n. The algorithm has been measured in the context of a LISP system where it has been seen to behave close to its optimum. The relationship of this algorithm to one due to Lang and Weigbreit is also explained.
Received July 1976.
* Addres for 1977/8: University of Utah, Salt Lake City, Utah.
University of Cambridge Computer Laboratory, Corn Exchange Street, Cambridge CB2 3QG