X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fsm%2FGC.h;h=d3ce8cf92d13db88f62d4dc0b96039c8024d12d9;hb=9d03becc597e5b1ab6c8466209a1263bf8ba6f29;hp=519925e452d90d98b44d3a7aa8f71728def3d801;hpb=ab0e778ccfde61aed4c22679b24d175fc6cc9bf3;p=ghc-hetmet.git diff --git a/rts/sm/GC.h b/rts/sm/GC.h index 519925e..d3ce8cf 100644 --- a/rts/sm/GC.h +++ b/rts/sm/GC.h @@ -4,6 +4,11 @@ * * Generational 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 GC_H @@ -31,7 +36,7 @@ extern lnat new_blocks; // blocks allocated during this GC extern lnat new_scavd_blocks; // ditto, but depth-first blocks #ifdef DEBUG -extern nat mutlist_MUTVARS, mutlist_MUTARRS, mutlist_OTHERS; +extern nat mutlist_MUTVARS, mutlist_MUTARRS, mutlist_MVARS, mutlist_OTHERS; #endif StgClosure * isAlive(StgClosure *p);