[plt-scheme] Some thoughts about GC and realtime aplications

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri May 19 07:01:07 EDT 2006

At Fri, 19 May 2006 05:43:12 +0400, "Ivan Boulanov" wrote:
> And one more question arises: how can I create a custom memory manager for 
> PLT Scheme?

Your best bet is to replace the garbage collector in a 3m build
(instead of the normal conservative-GC build). The 3m GC interface to
MzScheme is defined by src/mzscheme/gc2/gc2.h and described further in
src/mzscheme/gc2/README. We currently have two implementations of the
interface: "newgc.c" and "compact.c".

Matthew



Posted on the users mailing list.