Changes between Version 13 and Version 14 of Commentary/Rts/HeapObjects


Ignore:
Timestamp:
Sep 14, 2006 11:12:39 PM (8 years ago)
Author:
nr
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Rts/HeapObjects

    v13 v14  
    273273offset.  Non-updating versions are also built in, with info tables 
    274274labelled {{{_sel_n_noupd_info}}}. 
     275 
     276These thunks exist in order to prevent a space leak.  For example, if y is a thunk that has been evaluated, and y is unreachable, but x is reachable, the risk is that x keeps both the a and b components of y live.  By making the selector thunk a special case, we make it possible to reclaim the memory associated with b.  (The situation is further complicated when selector thunks point to other selector thunks; the garbage collector sees all, knows all.) 
    275277 
    276278=== Partial applications ===