pub type JavascriptHeapPolicy = ManagedHeapPolicy;Expand description
Compatibility name for the shared heap policy.
Aliased Type§
pub enum JavascriptHeapPolicy {
Tracing(CollectionLimits),
Retain,
}Variants§
Tracing(CollectionLimits)
Reclaim unreachable objects with the bounded tracing collector.
Retain
Retain every object until explicit heap teardown.