mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-09 14:07:34 +02:00
Added TODO
This commit is contained in:
parent
62a9efc1f5
commit
ca27d4a5d4
1 changed files with 6 additions and 0 deletions
6
gc.c
6
gc.c
|
@ -709,6 +709,12 @@ void gc_collector()
|
|||
//trace :
|
||||
gc_collector_trace();
|
||||
gc_stage = STAGE_SWEEPING;
|
||||
|
||||
TODO: before updating sweep to make it work w/new GC, need to
|
||||
update the heap functions to be thread safe. ideally want to
|
||||
try to minimize amount of locking - IE, lock on individual ops
|
||||
IF POSSIBLE, instead of whole operations like 'alloc' and 'sweep'.
|
||||
//
|
||||
//sweep :
|
||||
// TODO: For each object x in the heap:
|
||||
// TODO: if (color(x) = clearColor)
|
||||
|
|
Loading…
Add table
Reference in a new issue