Expand description
Reference counting support.
Structs§
- RefCount
Helper - A zero-sized helper type providing methods to read and update per-object reference count metadata for LXR’s reference counting plan.
Constants§
- LOG_
MIN_ OBJECT_ SIZE - Log2 of the minimum object size, i.e. the granularity at which reference counts are tracked.
- LOG_
REF_ COUNT_ BITS - Log2 of the number of bits used to store each object’s reference count in the RC table.
- MAX_
REF_ COUNT - The maximum representable reference count. Once an object’s count reaches this value it is treated as saturated/sticky and is no longer incremented or decremented.
- MIN_
OBJECT_ SIZE - The minimum object size, i.e. the granularity at which reference counts are tracked.
- RC_
STRADDLE_ LINES - Side metadata recording which Immix lines are “straddled” by an object that spans multiple lines, so straddling objects can be identified without scanning their contents.
- RC_
TABLE - Side metadata spec for the per-object reference count table.
- REF_
COUNT_ BITS - Number of bits used to store each object’s reference count in the RC table.
- REF_
COUNT_ MASK - Bit mask covering the bits used to store a reference count.