The SystemInfo..::..GCInfo type exposes the following properties.
Properties
| Member | Description | |
|---|---|---|
| GCCount |
Gets the total number of collections that have occurred since the JVM started.
This method returns -1 if the collection count is undefined for this collector.
| |
| GCName |
Gets the name of this GC.
| |
| GCTime |
Gets the approximate accumulated collection elapsed time in milliseconds since the JVM started.
This method returns -1 if the collection elapsed time is undefined for this collector.
|