mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-14 00:07:36 +02:00
Added notes
This commit is contained in:
parent
ca27d4a5d4
commit
0db95aa1c5
1 changed files with 8 additions and 0 deletions
8
gc.c
8
gc.c
|
@ -714,6 +714,14 @@ 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'.
|
||||
functions that modify heap:
|
||||
gc_try_alloc
|
||||
gc_sweep
|
||||
gc_grow_heap
|
||||
think that's it?
|
||||
consider what is being modified, and what is being read
|
||||
|
||||
|
||||
//
|
||||
//sweep :
|
||||
// TODO: For each object x in the heap:
|
||||
|
|
Loading…
Add table
Reference in a new issue