Use mutator threads to do GC, instead of having a separate pool of GC threads
[ghc-hetmet.git] / rts / sm / Storage.c
index 6c45cbe..bf7c452 100644 (file)
@@ -276,6 +276,10 @@ initStorage( void )
   whitehole_spin = 0;
 #endif
 
+  N = 0;
+
+  initGcThreads();
+
   IF_DEBUG(gc, statDescribeGens());
 
   RELEASE_SM_LOCK;