Module wrapped_mono::gc

source ·
Expand description

Functions related to garbage collection.

Structs

  • A Garbage Collector handle. Should only be used if default feature referenced objects is disabled. Otherwise all of its functionality is handled automatically behind the scenes

Functions

  • Preform collection on all generations of objects. WARNING: If raw object pointers are used, collection may collect objects pointed to by those pointers.
  • Preform collection on generation and any generation lower than that. WARNING: If raw object pointers are used, collection may collect objects pointed to by those pointers.
  • Get ammount of times garbage collection was preformed on generation.
  • Get generation object belongs to. It is only a hint and may not be exact.
  • Get size of the heap used by the garbage collector.
  • Gets ammount of heap that is in currently occupied by objects.
  • Get the maximum generation used by garbage collector.