[Gc] Partially scanning a VM's call stack
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Tue Aug 18 07:35:06 PDT 2009
Have a look at how ECL does it
More precisely, the function stacks_scanner() and ecl_mark_env(),
which tells the garbage collector which portions of the lisp
environment and interpreter stacks are to be scanned.
On Tue, Aug 18, 2009 at 4:15 PM, Ludovic Courtès<ludo at gnu.org> wrote:
> Guile's new VM uses an alternate stack for bytecode that's evaluated.
> As with the C stack, the GC should not scan the stack below its current
> bottom; failing to do so may lead to excess data retention.
> What's the best way to handle this? Are there other options than
> zeroing the stack bottom once in a while?
> Gc mailing list
> Gc at linux.hpl.hp.com
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
More information about the Gc