From: Richard E. <emb...@co...> - 2001-02-21 16:01:14
|
Raymond Smith wrote: > Sounds like we need a "null cycle killer". Damn sure circular references a > playing a big roll in our leak... > A good, modern gc collects cycles. The Boehm gc does and so does java's. I assume M$ uses similar technology. Don't know what NS does. All memory allocated is kept track of. Starting from a set of "well known objects" (top level objects) one sweeps marking all reachable objects (and not traversing objects more than once). Then all objects that have not been marked are collected. Cycles are NOT a problem. Richard Emberson |