mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 13:49:16 +02:00
Update Garbage-Collector-Revised-2022.md
This commit is contained in:
parent
1ee14831e7
commit
7164df49b1
1 changed files with 6 additions and 6 deletions
|
@ -215,12 +215,12 @@ Lazy sweeping is discussed here in the first major GC section as it impacts most
|
||||||
|
|
||||||
An object can be marked using any of the following colors to indicate the status of its memory:
|
An object can be marked using any of the following colors to indicate the status of its memory:
|
||||||
|
|
||||||
- Blue - Unallocated memory.
|
- :large_blue_circle: - Blue - Unallocated memory.
|
||||||
- Red - An object on the stack.
|
- :red_circle: - Red - An object on the stack.
|
||||||
- White - Heap memory that has not been scanned by the collector.
|
- :white_circle: - White - Heap memory that has not been scanned by the collector.
|
||||||
- Gray - Objects marked by the collector that may still have child objects that must be marked.
|
- :radio_button: - Gray - Objects marked by the collector that may still have child objects that must be marked.
|
||||||
- Black - Objects marked by the collector whose immediate child objects have also been marked.
|
- :black_circle: - Black - Objects marked by the collector whose immediate child objects have also been marked.
|
||||||
- Purple - Garbage objects on the heap that have not yet been reclaimed due to lazy sweeping.
|
- :purple_circle: - Purple - Garbage objects on the heap that have not yet been reclaimed due to lazy sweeping.
|
||||||
|
|
||||||
### Tri-Color Invariant
|
### Tri-Color Invariant
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue