10 references to GetGCMemoryInfo
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Metrics\RuntimeMetrics.cs (4)
21private static readonly int s_maxGenerations = Math.Min(GC.GetGCMemoryInfo().GenerationInfo.Length, s_genNames.Length); 52() => GC.GetGCMemoryInfo().TotalCommittedBytes, 187GCMemoryInfo gcInfo = GC.GetGCMemoryInfo(); 197GCMemoryInfo gcInfo = GC.GetGCMemoryInfo();
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\AppDomain.cs (1)
213GCMemoryInfo mi = GC.GetGCMemoryInfo();
src\libraries\System.Private.CoreLib\src\System\Buffers\Utilities.cs (1)
43GCMemoryInfo memoryInfo = GC.GetGCMemoryInfo();
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\RuntimeEventSource.cs (2)
101var 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)
476GCMemoryInfo gcMemoryInfo = GC.GetGCMemoryInfo();
System.Runtime.Caching (1)
System\Runtime\Caching\PhysicalMemoryMonitor.Unix.cs (1)
40GCMemoryInfo memInfo = GC.GetGCMemoryInfo();