Expand description
Layout of Wasm GC objects in the copying garbage collector.
Structs§
- Copying
Type Layouts - The layout of Wasm GC objects in the copying collector.
Constants§
- ALIGN
- The alignment of all GC objects in the copying collector.
- ARRAY_
LENGTH_ OFFSET - The offset of the length field in a
VMCopyingArrayHeader. - 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.
- FORWARDING_
REF_ OFFSET - The offset within this GC object, which must have the
HEADER_COPIED_BITset and must reside within the old semi-space, where the new copy of this object is located within the new semi-space. - HEADER_
COPIED_ BIT - The bit within a
VMCopyingHeader’s reserved bits that represents whether, during a collection, the object has already been copied into the new semi-space. - HEADER_
SIZE - The size of the
VMCopyingHeaderheader for GC objects. - MIN_
OBJECT_ SIZE - The minimum object size: every object must have enough room for the forwarding reference that the copying collector writes during collection.