Cheney's algorithm: Difference between revisions

Content deleted Content added
Sample algorithm: Removed erroneous recursion
Sample algorithm: specified end condition
Line 52:
-- scan objects in the heap (including objects added by this loop)
While scanPtr points< to an object o in the heapallocPtr
ForEach reference r from o (pointed to by scanPtr)
r = copy(r)
EndForEach