A simple bucket-brigade advancement mechanism for generation-bases garbage collection

Generation-based garbage collection systems use differing techniques to control the advancement of surviving data from each generation into the next (less frequently scavenged) generation. Moon's Ephemeral Garbage Collector [Moon84] copies all data that survive a scavenge into the next generation; Ungar's Generation Scavenging [Unga84] advances only those data that survive a specified number of scavenges.