Add ASSERTs to all calls of nameModule
[ghc-hetmet.git] / rts / sm / Scav.h
index 010a810..244073e 100644 (file)
@@ -1,13 +1,20 @@
 /* -----------------------------------------------------------------------------
  *
- * (c) The GHC Team 1998-2006
+ * (c) The GHC Team 1998-2008
  *
  * Generational garbage collector: scavenging functions
  *
+ * Documentation on the architecture of the Garbage Collector can be
+ * found in the online commentary:
+ * 
+ *   http://hackage.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ *
  * ---------------------------------------------------------------------------*/
 
-void scavenge                ( step * );
-void scavenge_mark_stack     ( void );
-void scavenge_large          ( step * );
-void scavenge_static         ( void );
-void scavenge_mutable_list   ( generation *g );
+void    scavenge_loop (void);
+void    scavenge_mutable_list (generation *g);
+
+#ifdef THREADED_RTS
+void    scavenge_loop1 (void);
+void    scavenge_mutable_list1 (generation *g);
+#endif