IHostMalloc Interface
Provides methods that allow the common language runtime (CLR) to request fine-grained allocations from the heap through the host.
Methods
Method | Description |
---|---|
Alloc Method | Requests that the host allocate the requested amount of memory from the heap. |
DebugAlloc Method | Requests that the host allocate the requested amount of memory from the heap, and additionally track where the memory was allocated. |
Free Method | Frees memory that was allocated by using the Alloc method. |
Remarks
The CLR gets an interface pointer to an IHostMalloc
instance by calling the IHostMemoryManager::CreateMalloc method.
Requirements
Platforms: See System Requirements.
Header: MSCorEE.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: Available since 2.0
See also
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.