20 references to GCCollectionMode
Microsoft.Data.Analysis.Tests (1)
test\Microsoft.ML.TestFramework\BaseTestClass.cs (1)
93GC.Collect(2, GCCollectionMode.Forced, true);
Microsoft.ML.FastTree (2)
FastTree.cs (2)
351GC.Collect(2, GCCollectionMode.Forced); 352GC.Collect(2, GCCollectionMode.Forced);
Microsoft.ML.TestFramework (1)
BaseTestClass.cs (1)
93GC.Collect(2, GCCollectionMode.Forced, true);
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
244[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.GCCollectionMode))]
netstandard (1)
netstandard.cs (1)
812[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.GCCollectionMode))]
System.Private.CoreLib (11)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ReferenceTrackerHost.cs (1)
35GC.Collect(2, GCCollectionMode.Optimized, blocking: true, compacting: false, lowMemoryPressure: true);
System\GC.NativeAot.cs (10)
123Collect(generation, GCCollectionMode.Default); 133public static void Collect(int generation, GCCollectionMode mode) 138public static void Collect(int generation, GCCollectionMode mode, bool blocking) 140bool aggressive = generation == MaxGeneration && mode == GCCollectionMode.Aggressive; 144public static void Collect(int generation, GCCollectionMode mode, bool blocking, bool compacting) 149internal static void Collect(int generation, GCCollectionMode mode, bool blocking, bool compacting, bool lowMemoryPressure) 153if ((mode < GCCollectionMode.Default) || (mode > GCCollectionMode.Aggressive)) 160if (mode == GCCollectionMode.Optimized) 164else if (mode == GCCollectionMode.Aggressive)
System.Private.Windows.Core.TestUtilities (2)
XUnit\ForceGCAttribute.cs (2)
19GC.Collect(GC.MaxGeneration, GCCollectionMode.Forced, blocking: true); 21GC.Collect(GC.MaxGeneration, GCCollectionMode.Forced, blocking: true);
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
212[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.GCCollectionMode))]