Commit 3e8ab4c0 authored by simonm's avatar simonm
Browse files

[project @ 1999-02-05 14:48:01 by simonm]

[ repeating commit, message got lost last time ]

- Scavenge each older generation immediately after traversing its
  mutable list.

- Make the first GC a major one: it doesn't cost much, and we get
  to garbage collection 'main' straight away.

- Change the order of scavenging to try to minimise the size of
  the mutable lists.
parent 4c47c22c
/* -----------------------------------------------------------------------------
* $Id: Storage.c,v 1.10 1999/02/05 14:45:43 simonm Exp $
* $Id: Storage.c,v 1.11 1999/02/05 14:48:01 simonm Exp $
*
* Storage manager front end
*
......@@ -71,7 +71,7 @@ initStorage (void)
gen->mut_once_list = END_MUT_LIST;
gen->collections = 0;
gen->failed_promotions = 0;
gen->max_blocks = RtsFlags.GcFlags.minOldGenSize;
gen->max_blocks = 0;
}
/* A couple of convenience pointers */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment