Changes between Version 5 and Version 6 of Commentary/Rts/Storage/BlockAlloc


Ignore:
Timestamp:
Dec 4, 2009 11:48:51 AM (6 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Rts/Storage/BlockAlloc

    v5 v6  
    4747 * At the bottom, talking to the OS, is the megablock allocator ([[GhcFile(rts/sm/MBlock.c)]], [[GhcFile(includes/rts/storage/MBlock.h)]]).
    4848   It is responsible for delivering megablocks, correctly aligned, to the upper layers.  It is also responsible for
    49    implementing `HEAP_ALLOCED()`: the predicate that tests whether a pointer points to dynamically allocated memory
     49   implementing [wiki:Commentary/HeapAlloced HEAP_ALLOCED()]: the predicate that tests whether a pointer points to dynamically allocated memory
    5050   or not.  This is implemented as a simple bitmap lookup on a 32-bit machine, and something more complex on
    5151   64-bit addressed machines.  See [[GhcFile(includes/rts/storage/MBlock.h)]] for details.