[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Senora GC ?



Quoting Blake McBride:
> Where can I get more info on Senora GC ?

There isn't much to tell:

 * The implementation is in plt/src/mzscheme/sgc.

 * The interface is essentially a subset of Boehm's. One big departure
   is that a stack base must be explicitly registered with the
   collector, as well as the address of any static variable containing
   GCable pointers. In other words, SGC requires some cooperation from
   its environment, and that cooperation allows SGC to be more
   portable.

 * Running configure with `--enable-sgc' compiles MzScheme with SGC
   instead of Boehm's GC.

 * Running configure with `--enable-sgcdebug' turns on memory-tracing
   tools in SGC that we use to track down memory leaks. (Those tools
   were the original reason for implementing SGC.)

Matthew