X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fsm%2FCompact.h;h=40622c56828155a7d69d19192ae7d47526ad9aba;hb=66579ff945831c5fc9a17c58c722ff01f2268d76;hp=4f1d6a27c72bd098a3af7bff03f2f5c239f9b562;hpb=ab0e778ccfde61aed4c22679b24d175fc6cc9bf3;p=ghc-hetmet.git diff --git a/rts/sm/Compact.h b/rts/sm/Compact.h index 4f1d6a2..40622c5 100644 --- a/rts/sm/Compact.h +++ b/rts/sm/Compact.h @@ -1,9 +1,14 @@ /* ----------------------------------------------------------------------------- * - * (c) The GHC Team 1998-2005 + * (c) The GHC Team 1998-2008 * * Compacting garbage collector * + * 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 + * * ---------------------------------------------------------------------------*/ #ifndef GCCOMPACT_H @@ -69,6 +74,6 @@ is_marked(StgPtr p, bdescr *bd) return (*bitmap_word & bit_mask); } -void compact(void); +extern void compact (StgClosure *static_objects); #endif /* GCCOMPACT_H */