GC policy question...

Stephen Weeks sweeks@intertrust.com
Sun, 6 Feb 2000 21:12:15 -0800 (PST)


> Could you outline the heap resize policy used by the GC?
> Alternatively can you tell me where in the code is the policy decision being
> made, so I can hack it.

src/runtime/gc.c -- the "doGC" function

> I need to make sure the policy, my user level GC is using is the same when I
> compare the two collectors.

It might be easiest just to run with a fixed size heap using the -h
compile time option or the fixed-heap runtime option.  Then you won't
have to duplicate anything.