Function magnus::gc::start

source ·
pub fn start()
Expand description

Trigger a “full” GC run.

This will perform a full mark phase and a complete sweep phase, but may not run every single proceess associated with garbage collection.

Finalisers will be deferred to run later.

Currently (with versions of Ruby that support compaction) it will not trigger compaction.