[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: local to module objects and GC
- From: RLake@...
- Date: Thu, 6 Nov 2003 12:45:45 -0500
> What is scaring me is
> Why the local objects are not collected ? where are they stored ?
> I am asking to satisfy my curiosity, and to learn a bit more.
The local objects are stored on the heap. They are not garbage
collected (if they are not garbage collected) because they
end up being upvalues in other objects which are visible,
or because they are still on the stack.