Class GcConcurrentAttribute
- Namespace
- BenchmarkDotNet.Attributes
- Assembly
- BenchmarkDotNet.dll
Specifies whether the common language runtime runs garbage collection on a separate thread.
public class GcConcurrentAttribute : JobMutatorConfigBaseAttribute, IConfigSource
- Inheritance
-
GcConcurrentAttribute
- Implements
- Inherited Members
Constructors
GcConcurrentAttribute(bool)
public GcConcurrentAttribute(bool value = true)
Parameters
value
bool- Specifies whether the common language runtime runs garbage collection on a separate thread. false: Does not run garbage collection concurrently. true: Runs garbage collection concurrently. This is the default.