[MLton-devel] cvs commit: card maps and machine IL semantics change

Stephen Weeks MLton@mlton.org
Tue, 30 Jul 2002 12:47:40 -0700


> What is your plan for deciding when to collect older generations and when to
> tenure?  It doesn't seem like there is any choice which will be ok for all
> programs.  Does the GC book (Johnson?) have any guidance?

My planned approach is very simple.  Always do a minor collection
first, and minor collections tenure everything.  If the minor
collection produces enough space, let the mutator continue.  If not,
do a major collection, which is effectively what we have always done.
The major collection will resize the heap if necessary.

I may put in some threshold, so that if the nursery gets smaller than,
say, 5% of heap size, then do a major collection.


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel