Skip to main content

Module gc

Module gc 

Source
Expand description

Managed-object collector selection for standard and minimal/test distributions. Standard-distribution managed-object collection policy.

standard selects tracing collection. Retention is available only through the explicit standard-gc-retain feature for minimal and test closures; it never reclaims cycles and fails closed at the arena’s hard object cap.

Structs§

CollectorInspection
Stable inspection projection for the selected distribution policy.
EdgeId
Shared language-neutral arena, node, edge, and retention building blocks. Stable identity of an edge within its owning object.
EdgeLimits
Shared language-neutral arena, node, edge, and retention building blocks. Hard limits for the outgoing edges owned by one ManagedNode.
HardCappedRetainPolicy
Shared language-neutral arena, node, edge, and retention building blocks. The only built-in policy: retain objects until explicit teardown, while refusing allocations beyond a fixed hard cap.
ManagedArena
Shared language-neutral arena, node, edge, and retention building blocks. Bounded storage for managed objects, independent of language and collector policy.
ManagedHandle
Shared language-neutral arena, node, edge, and retention building blocks. An object handle. It does not itself keep the object rooted.
ManagedHeap
Shared heap wrapper and its explicit tracing-or-retain policy. A dependency-correct managed heap composed from an arena and reclamation policy.
ManagedId
Shared language-neutral arena, node, edge, and retention building blocks. A stable managed-object identity assigned from allocation order.
ManagedNode
Shared language-neutral arena, node, edge, and retention building blocks. A role-bearing managed object with stable, ordered strong edges.
ManagedRole
Shared language-neutral arena, node, edge, and retention building blocks. Caller-owned role evidence kept separate from managed graph identity.

Enums§

CollectorPolicy
The managed-object policy selected by this SDK build.
ManagedAllocation
Declares whether a guest profile allocates managed objects that may cycle.
ManagedHeapPolicy
Shared heap wrapper and its explicit tracing-or-retain policy. Explicit reclamation policy for a managed heap.

Traits§

ManagedObject
Shared language-neutral arena, node, edge, and retention building blocks. An object stored by ManagedArena.
RoleBearingManagedObject
Shared language-neutral arena, node, edge, and retention building blocks. A managed object carrying caller-owned role evidence outside graph policy.

Functions§

inspect_selected_policy
Projects the selected policy through the SDK’s ordinary inspection API.
require_production_collector
Admits a guest profile to a production distribution.
selected_policy
Returns the policy selected by the feature closure.