IMethodMalloc Interface
Provides a method to allocate memory for a new common intermediate language (CIL) function body.
Note
The IMethodMalloc
interface is a simple memory allocator. It allows you to allocate memory, but not to free it.
Methods
Method | Description |
---|---|
Alloc Method | Attempts to allocate a specified amount of memory for a new CIL function body. |
Remarks
Each allocator is module-specific and ensures that the function body will be at a positive offset from the base of the module. Memory above the base of a module can be precious, so the allocator should be used to allocate memory only for a function body.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0
See also
Bendradarbiaukite su mumis dirbdami „GitHub“
Šio turinio šaltinį galima rasti „GitHub“, kur taip pat galite kurti ir peržiūrėti problemas bei teikti užklausas. Daugiau informacijos žr. mūsų bendraautorių vadove.