[−][src]Module rosy::gc
Ruby's garbage collector.
Traits
GcInfoKey | A key that can be used to look up what the latest information is about the garbage collector. |
Functions
adjust_mem_usage | Tells the garbage collector how much memory is being used by an external library. This may trigger the GC to resize or free emory blocks. |
count | Returns the number of times the GC has ran. |
disable | Disables the garbage collector, returning whether it was already previously disabled. |
disabled | Calls |
enable | Enables the garbage collector, returning whether it was already previously enabled. |
force_recycle⚠ | Forces |
latest_info | Returns the latest information regarding |
latest_info_unchecked⚠ | Returns the latest information regarding |
mark | Marks the object for Ruby to avoid garbage collecting it. |
mark_iter | Iterates over |
mark_maybe | Marks the object for Ruby to avoid garbage collecting it. |
register | Registers |
register_mark | Registers the object address with the garbage collector and tells it to avoid collecting it. |
start | Starts the garbage collector. |
stat | Returns the status information for |
stat_unchecked⚠ | Returns the status information for |
unregister | Unregisters |