Function js::jsapi::IncrementalGCSlice
[−]
[src]
pub unsafe extern "C" fn IncrementalGCSlice(
rt: *mut JSRuntime,
reason: Reason,
millis: i64
)
Perform a slice of an ongoing incremental collection. When this function returns, the collection may not be complete. It must be called repeatedly until !IsIncrementalGCInProgress(rt).
Note: SpiderMonkey's GC is not realtime. Slices in practice may be longer or shorter than the requested interval.