Expand description
Pointer fixup after relocation.
After objects are relocated and the forwarding table is populated, we must update all pointers (in live objects and root set) to point to the new locations.
Functionsยง
- fixup_
nanboxed_ bits - Fix up a NaN-boxed u64 value in-place if it contains a forwarded heap pointer.
- fixup_
ptr - Fix up a single raw pointer if it has a forwarding entry.
- fixup_
region - Fix up pointers within all live objects in a region.
- fixup_
roots - Fix up all pointers in the root set using the forwarding table.