Module drc

Source
Expand description

Layout of Wasm GC objects in the deferred reference-counting collector.

Structs§

DrcTypeLayouts
The layout of Wasm GC objects in the deferred reference-counting collector.

Constants§

ARRAY_LENGTH_OFFSET
The offset of the length field in a VMDrcArrayHeader.
HEADER_ALIGN
The align of the VMDrcHeader header for GC objects.
HEADER_IN_OVER_APPROX_LIST_BIT
The bit within a VMDrcHeader’s reserved bits that is the in-the-over-approximated-stack-roots list bit.
HEADER_MARK_BIT
The bit within a VMDrcHeader‘s reserved bits that is the mark bit. Collectively, this bit in all the heap’s objects’ headers implements the precise-stack-roots set.
HEADER_SIZE
The size of the VMDrcHeader header for GC objects.