This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: conservative scanning and infinite streams
Michael Livshin writes:
> but of course. when you enter GC, the stack *below* is already full
> of junk, so clearing stack at that time is too late.
I'm slightly embarrassed that I didn't see the call to clear_stack
from malloc...
I just adding a call to clear_stack at each SCM_NEWCELL. Guess what:
it does help on heap size but it is incredibly slow:-(
> yes, it's gross, but so far nobody has come up with a better idea.
In the non-threaded case, Boehm seems to do some clever optimization
using stack tide marks. Given the discouraging results of the
brute-force approach, I don't think I'll pursue this any further.
Regards,
Ole