From 3e8ab4c02d81252a1ed5deab19426270d85a9905 Mon Sep 17 00:00:00 2001
From: simonm <unknown>
Date: Fri, 5 Feb 1999 14:48:01 +0000
Subject: [PATCH] [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.
---
 ghc/rts/Storage.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ghc/rts/Storage.c b/ghc/rts/Storage.c
index 88f890491024..ce745f605431 100644
--- a/ghc/rts/Storage.c
+++ b/ghc/rts/Storage.c
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $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 */
-- 
GitLab