Expand description
Functions for working with Ruby’s Garbage Collector.
See also Ruby
for more GC related methods.
Structs§
- A handle to functions relating to GC compaction.
- A handle to GC marking functions.
Traits§
- Trait indicating types that can given to
Compactor::location
. - Trait indicating types that can be passed to GC marking functions.
Functions§
- Inform Ruby of external memory usage.
- Returns all possible key/value pairs for
stat
as a Ruby Hash. - Returns the number of garbage collections that have been run since the start of the process.
- Disable automatic GC runs.
- Enable automatic GC run.
- Inform Ruby’s garbage collector that
valref
points to a live Ruby object. - Registers
value
to never be garbage collected. - Trigger a “full” GC run.
- Returns the GC profiling value for
key
. - Inform Ruby’s garbage collector that
valref
that was previously registered withregister_address
no longer points to a live Ruby object.