10 references to GetGCMemoryInfo
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Metrics\RuntimeMetrics.cs (4)
21
private static readonly int s_maxGenerations = Math.Min(GC.
GetGCMemoryInfo
().GenerationInfo.Length, s_genNames.Length);
52
() => GC.
GetGCMemoryInfo
().TotalCommittedBytes,
187
GCMemoryInfo gcInfo = GC.
GetGCMemoryInfo
();
197
GCMemoryInfo gcInfo = GC.
GetGCMemoryInfo
();
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\AppDomain.cs (1)
213
GCMemoryInfo mi = GC.
GetGCMemoryInfo
();
src\libraries\System.Private.CoreLib\src\System\Buffers\Utilities.cs (1)
43
GCMemoryInfo memoryInfo = GC.
GetGCMemoryInfo
();
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\RuntimeEventSource.cs (2)
101
var gcInfo = GC.
GetGCMemoryInfo
();
105
_committedCounter ??= new PollingCounter("gc-committed", this, () => ((double)GC.
GetGCMemoryInfo
().TotalCommittedBytes / 1_000_000)) { DisplayName = "GC Committed Bytes", DisplayUnits = "MB" };
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.cs (1)
476
GCMemoryInfo gcMemoryInfo = GC.
GetGCMemoryInfo
();
System.Runtime.Caching (1)
System\Runtime\Caching\PhysicalMemoryMonitor.Unix.cs (1)
40
GCMemoryInfo memInfo = GC.
GetGCMemoryInfo
();