Table of Contents

Class GcServerAttribute

Namespace
BenchmarkDotNet.Attributes
Assembly
BenchmarkDotNet.dll

Specifies whether the common language runtime runs server garbage collection. false: Does not run server garbage collection. This is the default. true: Runs server garbage collection.

public class GcServerAttribute : JobMutatorConfigBaseAttribute, IConfigSource
Inheritance
GcServerAttribute
Implements
Inherited Members

Constructors

GcServerAttribute(bool)

public GcServerAttribute(bool value = false)

Parameters

value bool
Specifies whether the common language runtime runs server garbage collection. false: Does not run server garbage collection. This is the default. true: Runs server garbage collection.