Show / Hide Table of Contents

Struct GCLatencyModeScope

Represents lexical scope of the specific GC latency mode.

Implements
IDisposable
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: DotNext.Runtime
Assembly: DotNext.dll
Syntax
public readonly struct GCLatencyModeScope : IDisposable

Constructors

| Edit this page View Source

GCLatencyModeScope(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 Source

LowLatency

Creates a scope with LowLatency GC intrusion level.

Declaration
public static GCLatencyModeScope LowLatency { get; }
Property Value
Type Description
GCLatencyModeScope
| Edit this page View Source

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 Source

Dispose()

Cancels previously defined GC latency.

Declaration
public void Dispose()

Implements

IDisposable

Extension Methods

BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, ReadOnlySpan<T>)
Collection.ToAsyncEnumerator<TEnumerator, T>(TEnumerator, CancellationToken)
Collection.ToClassicEnumerator<TEnumerator, T>(TEnumerator)
Enumerator.Skip<TEnumerator, T>(ref TEnumerator, int)
ExpressionBuilder.Const<T>(T)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾