QuickBEAM.VM.Heap.GC (QuickBEAM v0.10.9)

Copy Markdown View Source

Mark-and-sweep garbage collector for the JS object heap.

Summary

Functions

Helper for mark-and-sweep garbage collector for the js object heap.

Returns the allocation threshold that triggers the first heap GC pass.

Functions

gc(extra_roots \\ [])

Helper for mark-and-sweep garbage collector for the js object heap.

gc_initial_threshold()

Returns the allocation threshold that triggers the first heap GC pass.

gc_needed?()

mark_and_sweep(roots)