Modules§
- allocation_
config - allocator
- block
- block_
allocator - c_api
- cell
- gc_
info_ table - gcref
- global_
allocator - globals
- header
- heap
- internal
- large_
space - marking
- mmap
- task_
scheduler - visitor
Macros§
- offsetof
- Just like C’s offsetof.
Structs§
- Config
- Configuration for heap constructor.
- Encoded
High - GCInfo
- GCInfo contains metadata for objects that implement
GCInfoTrait
. - GCInfo
Index - GCInfo
Table - Efficent storage for GCInfo.
- GCPlatform
- GcPointer
- GC collected smart-pointer. It allows
T
to be?Sized
for dynamic casts. - GcPointer
Base - GC object header.
- Heap
- Wrapper over Comet heap.
- Heap
Object Header - HeapObjectHeader contains meta data per object and is prepended to each object.
- Simple
Marking Constraint - Trace
Descriptor - Describe how to trace an object.
- Visitor
- WeakRef
- Weak reference wrapper.
Enums§
Constants§
Traits§
- Finalize
- The FinalizeTrait specifies how to finalize objects.
- Finalize
Trait - The FinalizeTrait specifies how to finalize objects.
- GCInfo
Trait - Trait determines how the garbage collector treats objects wrt. to traversing, and finalization. It is automatically implemented for all types that implement TraceTrait and FinalizeTrait.
- GcCell
GcCell
is a type that can be allocated in GC heap.- Trace
- Trait specifying how the garbage collector processes an object of type
T
. - Trace
Trait - Trait specifying how the garbage collector processes an object of type
T
.
Functions§
- align
- rounds the given value
val
up to the nearest multiple ofalign
- gc_size
- Returns GC allocation size of object.
- vtable_
of - vtable_
of_ type