mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-07 05:06:36 +02:00
Sync
This commit is contained in:
parent
ede522734b
commit
dd7fd5215c
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ The collector swaps the values of the clear color (white) and the mark color (bl
|
|||
<img class="doc" 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:
|
||||
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 class="doc" src="images/gc-graph-mark.png" alt="Initial object graph">
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue