Метод | Описание | |
---|---|---|
AddMemoryPressure ( long bytesAllocated ) : void |
Informs the runtime of a large allocation of unmanaged memory that should be taken into account when scheduling garbage collection.
|
|
RemoveMemoryPressure ( long bytesAllocated ) : void |
Informs the runtime that unmanaged memory has been released and no longer needs to be taken into account when scheduling garbage collection.
|
Метод | Описание | |
---|---|---|
PressureCheck ( ) : void |
public static AddMemoryPressure ( long bytesAllocated ) : void | ||
bytesAllocated | long | The incremental amount of unmanaged memory that has been allocated. |
Результат | void |
public static RemoveMemoryPressure ( long bytesAllocated ) : void | ||
bytesAllocated | long | The amount of unmanaged memory that has been released. |
Результат | void |