The runtime dynamic memory allocation service provides an alternative means of allocating and freeing memory. In most cases transient allocations are thread specific and where this is the case, the following API can improve performance significantly. For a more general discussion see Basic Memory Management.
This function allows a thread specific heap to be created from user code
This allows a thread specific heap to be freed from user code
This function returns the number of bytes that are required to create a thread specific heap. This can be used to estimate the total requirement for a given heap (user space + heap overhead)
This function allocates storage from a thread specific heap
This function frees previously allocated thread specific storage
This function re-allocates storage from a thread specific heap
This function allows a previously allocated block to be checked for over-run and/or over-run
This function returns the size of a previously allocated block
This function allows users to determine heap usage statistics
This function provides a means of using 'new' and 'delete' to create variable sized objects
This function enables red-zones and causes the runtime to carry out internal integrity checks aimed at catching over-writes and/or under-writes
This function disables re-zones