A note on Cheney's nonrecursive list-compacting algorithm

David C. Walden · Communications of the ACM · 1972

Cheney's list-compacting algorithm [1] goes into an infinite loop when it traces a circular list consisting exclusively of non-items. While it may be reasonable to say that such lists should not exist, it would be very difficult to legislate out of existence programs which illegally create such lists because of bugs, and it would not do for the garbage collector to break down in this instance.

Cited by 2 works. doi:10.1145/361284.361300 Open-access PDF

Authors

References