Struct GCLatencyModeScope
Represents lexical scope of the specific GC latency mode.
Implements
Inherited Members
Namespace: DotNext.Runtime
Assembly: DotNext.dll
Syntax
public readonly struct GCLatencyModeScope : IDisposable
Constructors
| Edit this page View SourceGCLatencyModeScope(GCLatencyMode)
Initializes a new scope that affects GC intrusion level.
Declaration
public GCLatencyModeScope(GCLatencyMode mode)
Parameters
Type | Name | Description |
---|---|---|
GCLatencyMode | mode | GC latency mode. |
Properties
| Edit this page View SourceLowLatency
Creates a scope with LowLatency GC intrusion level.
Declaration
public static GCLatencyModeScope LowLatency { get; }
Property Value
Type | Description |
---|---|
GCLatencyModeScope |
SustainedLowLatency
Creates a scope with SustainedLowLatency GC intrusion level.
Declaration
public static GCLatencyModeScope SustainedLowLatency { get; }
Property Value
Type | Description |
---|---|
GCLatencyModeScope |
Methods
| Edit this page View SourceDispose()
Cancels previously defined GC latency.
Declaration
public void Dispose()