Linas Vepstas escreveu:
> 2008/11/17 Andy Wingo <[EMAIL PROTECTED]>:
>> Hi Linas,
>>
>> I was about to write about how your patch looked incorrect to me,
>> because GC could see a half-initialized struct (and potentially sweep
>> it, with a bad free function);
> 
> Well, I tried to think that through. I tried to find a need for a
> "remember_up_to_here", but it didn't look like the code
> needed it -- it seemed like everything was on stack or
> in registers, and so would be safe from accidental GC.

Our GC is lazy; if a function momentarily drops a reference, you´d have to 
have 2 GCs within the same function body to see bad effects.

-- 
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen



Reply via email to