Information AboutCheneys Algorithm |
| CATEGORIES ABOUT CHENEYS ALGORITHM | |
| garbage collection computer science | |
|
Cheney's algorithm reclaims items as follows:
Once all to-space references have been examined and updated, garbage collection is complete. The aforementioned forwarding pointer is used only during the garbage collection process: When a reference to an object already in to-space (thus having a forwarding pointer in from-space) is found, the reference can be updated quickly simply by updating its pointer to match the forwarding pointer. Because the strategy is to exhaust all live references, and then all references in referenced objects, this is known as a ''breadth-first'' list copying garbage collection scheme. SEMISPACE Cheney based his work on the ''semispace'' garbage collector, which was published a year earlier by R.R. Fenichel and J.C. Yochelson. REFERENCES |
|
|