At 03:18 PM 8/1/2001 -0400, Buddha Buck wrote:
>At 01:01 PM 08-01-2001 -0600, Sterin, Ilya wrote:
>>I was just wondering if there will be any solution for the circular
>>refernece memory leak (I guess you can call it a problem). Can't we keep
>>information on the number of circular references in the SV structure and
>>then decrement the references count by one + the circular reference count at
>>the end of scope?
>
>Dan has already answered (dead-object detection sweeps by the GC will take
>care of it), but I'm curious?
>
>How do you detect a circular reference so you can update the circular
>reference count?
There's no good general way to do it that's not essentially brute force. If
you've knowledge of your data structures you can do it by hand, but that
can always be a bit dicey.
Automated sweeps are the only way to fly... :)
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk