Changes between Version 3 and Version 4 of Commentary/Rts/HaskellExecution/HeapChecks


Ignore:
Timestamp:
Jan 16, 2012 8:40:42 PM (3 years ago)
Author:
heisenbug
Comment:

typo

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Rts/HaskellExecution/HeapChecks

    v3 v4  
    55Source files: [[GhcFile(rts/HeapStackCheck.cmm)]] 
    66 
    7 When allocating a heap object, we bump `Hp` and compare to `HpLim`. If the test fails we branch to ???.  Usually this code tests an interrupt flag (to see if execution should be brought tidily to a halt); grabs the next block of alloaction space; makes `Hp` point to it and `HpLim` to its end; and returns.  If there are no more allocation-space blocks, garbage collection is triggered. 
     7When allocating a heap object, we bump `Hp` and compare to `HpLim`. If the test fails we branch to ???.  Usually this code tests an interrupt flag (to see if execution should be brought tidily to a halt); grabs the next block of allocation space; makes `Hp` point to it and `HpLim` to its end; and returns.  If there are no more allocation-space blocks, garbage collection is triggered. 
    88 
    99----