pub enum CorrectnessDimension {
Safety,
Reclamation,
WeakAndEphemeron,
Finalization,
SameScheduleDeterminism,
ScheduleIndependenceSafety,
BoundedWork,
FailureAtomicity,
WasmClosure,
}Expand description
Independent correctness dimensions maintained by the collector conformance suite.
Determinism means identical allocation and safepoint schedules produce identical
receipts. Receipt order is grounded in ManagedId’s allocation-deterministic
ordinals; safety does not require different legal schedules to reclaim at the
same safepoint.
Variants§
Safety
No rooted or transitively strong-reachable object is reclaimed.
Reclamation
Unreachable strong cycles are reclaimed.
WeakAndEphemeron
Weak edges and ephemerons follow strong-liveness semantics.
Finalization
Finalizers are admitted at most once and run outside collection.
SameScheduleDeterminism
The same allocation and safepoint schedule gives the same receipt.
ScheduleIndependenceSafety
Every legal schedule preserves safety, even when reclamation timing differs.
BoundedWork
Every collection resource class is explicitly bounded.
FailureAtomicity
Refused plans leave the arena and finalization state unchanged.
WasmClosure
Collection runs synchronously inside a wasm-compatible closure without threads.
Implementations§
Trait Implementations§
Source§impl Clone for CorrectnessDimension
impl Clone for CorrectnessDimension
Source§fn clone(&self) -> CorrectnessDimension
fn clone(&self) -> CorrectnessDimension
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more