kirancodes.me
To Proof Maintenance & Beyond!

Reducing Sweep Time for a Nearly Empty Heap

Yoo C. Chung, Soo-Mook Moon, Kemal Ebcioglu, Dan Sahlin

Abstract

Mark and sweep garbage collectors are known for using time proportional to the heap size when sweeping memory, since all objects in the heap, regardless of whether they are live or not, must be visited in order to reclaim the memory occupied by dead objects. This paper introduces a sweeping method which traverses only the live objects, so that sweeping can be done in time dependent only on the number of live objects in the heap.

Related papers