Changes between Version 10 and Version 11 of GCMassacre

Show
Ignore:
Timestamp:
05/28/10 23:49:52 (12 years ago)
Author:
bacek
Comment:

Some notes about incremental tri-colour GC.

Legend:

Unmodified
Added
Removed
Modified
  • GCMassacre

    v10 v11  
    224224 
    225225== Non-recursive, tri-colour, incremental mark and sweep == 
     226 
     227This will not work because we can update objects already marked as live during incremental mark. 
     228To make it work we have to override VTABLE for marked objects to put them into @grey_objects during mark. 
     229 
     230Also, freshly allocated objects in mark phase should be appended into @grey_objects, not @objects. 
     231Because they can have pointers to "otherwise-be-dead" objects. 
     232 
    226233{{{ 
    227234#!perl