mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-14 08:17:35 +02:00
Added notes
This commit is contained in:
parent
2db7a2e86c
commit
fba366c7f9
1 changed files with 5 additions and 0 deletions
|
@ -2385,6 +2385,11 @@ void GC(cont,ans,num_ans) closure cont; object *ans; int num_ans;
|
||||||
- may be able to modify transp macro to do this part
|
- may be able to modify transp macro to do this part
|
||||||
|
|
||||||
can still use write buffer to ensure any heap->stack references are handled
|
can still use write buffer to ensure any heap->stack references are handled
|
||||||
|
- also want to use this barrier to handle any globals that are re-assigned to
|
||||||
|
locations on the stack, to ensure they are moved to the heap during GC.
|
||||||
|
- write barrier really should be per-stack, since OK to leave those items until
|
||||||
|
stack is collected
|
||||||
|
- TBD how this works with multiple threads, each with its own stack
|
||||||
|
|
||||||
need to transport:
|
need to transport:
|
||||||
- stack closure/args
|
- stack closure/args
|
||||||
|
|
Loading…
Add table
Reference in a new issue