class · System
GC
public class System.GC : System.Any
The collector (System.GC): asking for a collection, and what it has done.
- Kind
- class
- Namespace
- System
- Assembly
- System.Core
- Access
- public, static, abstract
- Source file
Runtime.ant
Inheritance
- Base classes
-
AnyGC
Methods
static method Collect() -> void
#
Collects at the next safepoint.
How many collections ran.
How many objects are alive (or not collected yet).
Private and internal members (3)
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
GC as Larva HIR, decompiled from its Larva HIR.
// The collector (System.GC): asking for a collection, and what it has done.
public class System.GC : System.Any
{
static method Request() -> void
static method Collections() -> i64
static method Objects() -> i64
// Collects at the next safepoint.
static method Collect() -> void
// How many collections ran.
static method CollectionCount() -> i64
// How many objects are alive (or not collected yet).
static method ObjectCount() -> i64
}