GCMemoryInfo 结构

定义

提供一组可用于检索垃圾回收信息的 API。Provides a set of APIs that can be used to retrieve garbage collection information.

public value class GCMemoryInfo
public struct GCMemoryInfo
type GCMemoryInfo = struct
Public Structure GCMemoryInfo
继承
GCMemoryInfo

属性

FragmentedBytes

获取上次垃圾回收发生时的总片段数。Gets the total fragmentation when the last garbage collection occurred.

HeapSizeBytes

获取上次垃圾回收发生时的总堆大小。Gets the total heap size when the last garbage collection occurred.

HighMemoryLoadThresholdBytes

获取上次垃圾回收发生时的高内存负载阈值。Gets the high memory load threshold when the last garbage collection occured.

MemoryLoadBytes

获取上次垃圾回收发生时的内存负载。Gets the memory load when the last garbage collection occurred.

TotalAvailableMemoryBytes

获取上次垃圾回收发生时垃圾回收器使用的总可用内存。Gets the total available memory for the garbage collector to use when the last garbage collection occurred.

适用于