diff options
Diffstat (limited to 'rts/sm')
-rw-r--r-- | rts/sm/MBlock.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rts/sm/MBlock.h b/rts/sm/MBlock.h index 14244dcef3..ef6f8de33a 100644 --- a/rts/sm/MBlock.h +++ b/rts/sm/MBlock.h @@ -4,6 +4,9 @@ * * MegaBlock Allocator interface. * + * See wiki commentary at + * http://hackage.haskell.org/trac/ghc/wiki/Commentary/HeapAlloced + * * ---------------------------------------------------------------------------*/ #ifndef MBLOCK_H @@ -27,6 +30,9 @@ extern void *getNextMBlock(void *mblock); HEAP_ALLOCED is called FOR EVERY SINGLE CLOSURE during GC. It needs to be FAST. + See wiki commentary at + http://hackage.haskell.org/trac/ghc/wiki/Commentary/HeapAlloced + Implementation of HEAP_ALLOCED ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |