[DGD] Re: status
Noah Gibbs
noah_gibbs at yahoo.com
Wed Jan 7 23:07:48 CET 2004
--- Erwin Harte <harte at is-here.com> wrote:
> > DGD does garbage collection. [...]>
>
> I wonder where this idea originates because (as
> Dworkin points out in
> his email) is not quite true.
Actually, this email is on a different topic.
Normally, I believe, clones are garbage-collected.
That is, if you clone an object and then the variable
passes out of scope (so you no longer have any
reference to the cloned object) it will be garbage
collected. That is, it will be properly disposed of.
However, if you clone an object and your object
manager tracks it (such as in the Kernel Library,
which keeps lists of clones by owner), then there's
always at least one reference to it, so it can't be
garbage collected. Thus, you have to explicitly
destruct the object or you'll leak memory.
=====
------
noah_gibbs at yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
_________________________________________________________________
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list