mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
"mark" instead of gray, to clarify behavior
This commit is contained in:
parent
d038300f46
commit
4923c7c3ae
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ The collector swaps the values of the clear color (white) and the mark color (bl
|
|||
<img src="images/gc-graph-clear.png" alt="Initial object graph">
|
||||
|
||||
### Mark
|
||||
The collector transitions to sync 2 and then async. At this point it marks the global variables and waits for the mutators to also transition to async. When a mutator transitions it will gray its roots and use black as the allocation color to prevent any new objects from being collected during this cycle:
|
||||
The collector transitions to sync 2 and then async. At this point it marks the global variables and waits for the mutators to also transition to async. When a mutator transitions it will mark its roots and use black as the allocation color to prevent any new objects from being collected during this cycle:
|
||||
|
||||
<img src="images/gc-graph-mark.png" alt="Initial object graph">
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue