mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
WIP
This commit is contained in:
parent
37b3891868
commit
a63768aa64
1 changed files with 7 additions and 2 deletions
|
@ -4,8 +4,15 @@
|
|||
|
||||
- [Introduction](#introduction)
|
||||
- [Terms](#terms)
|
||||
- [Data Structures](#data-structures)
|
||||
- [Heap](#heap)
|
||||
- [Thread Data](#thread-data)
|
||||
- [Minor Collection](#minor-collection)
|
||||
- [Major Collection](#major-collection)
|
||||
- [Collection Cycle](#collection-cycle)
|
||||
- [Mutator Functions](#mutator-functions)
|
||||
- [Cooperation](#cooperation)
|
||||
- [Considerations](#considerations)
|
||||
- [Limitations and Looking Ahead](#limitations-and-looking-ahead)
|
||||
- [Further Reading](#further-reading)
|
||||
|
||||
|
@ -81,8 +88,6 @@ Finally, although not mentioned in Baker's paper, a heap object can be modified
|
|||
|
||||
# Major Collection
|
||||
|
||||
## Overview
|
||||
|
||||
A single heap is used to store objects relocated from the various thread stacks. Eventually the heap will run too low on space and a collection is required to reclaim unused memory. The collector thread is used to perform a major GC with cooperation from the mutator threads.
|
||||
|
||||
Each object is assigned a color to indicate the status of its memory:
|
||||
|
|
Loading…
Add table
Reference in a new issue