Module zerogc_simple::layout [−][src]
Expand description
The in memory layout of objects using the simple collector.
All objects are allocated with a GcHeader, that contains type information along with some internal mark bits.
Safety
Relying on this internal layout is incredibly unsafe.
However, zerogc-simple
is committed to a stable ABI, so this should (hopefully)
be relatively well documented.
Structs
Marker for an unknown GC object
A header for a GC array object
A header for a GC object
A type used by GC
A header for a Gc vector
The layout of an object’s header
The internal ‘marking data’ used for the simple collector.
A single snapshot of the state of the SimpleMarkData
The raw representation of a vector in the simple collector
Enums
Layout information on a GcType