20,741
edits
m (→Status) |
(→Status) |
||
| Line 59: | Line 59: | ||
* Document the existing GC {{Progressbar|50}} | * Document the existing GC {{Progressbar|50}} | ||
* Patch the existing GC to allocate different pools for each generation {{Progressbar|70}} | * Patch the existing GC to allocate different pools for each generation {{Progressbar|70}} | ||
** update mark() to increment a new gcSurvivals counter | |||
** update reap() to detect objects that have previously survived GC | |||
** implement a new function to promote objects from one generation to another | |||
* Provide readonly stats to inspect the GC {{Progressbar|10}} | * Provide readonly stats to inspect the GC {{Progressbar|10}} | ||
* Provide hooks to register custom callbacks to control GC (e.g. from FlightGear) {{Progressbar|10}} | * Provide hooks to register custom callbacks to control GC (e.g. from FlightGear) {{Progressbar|10}} | ||