Expand description
Layout of Wasm GC objects in the deferred reference-counting collector.
Structs§
- DrcType
Layouts - 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
. - EXCEPTION_
TAG_ DEFINED_ OFFSET - The offset of the tag-defined-index field in an exception header.
- EXCEPTION_
TAG_ INSTANCE_ OFFSET - The offset of the tag-instance-index field in an exception header.
- 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.