摘要 |
A method for memory registration caching comprising enumerating a first process for a first process, in response to a memory registration cache being activated; finding an import table for the first module, wherein one or more pointers, in the import table, refer to memory management routines in a first library; changing the pointers so that the pointers refer to memory management routines in a second library; overloading routines that refer to the memory management routines in the first library so that the routines refer to the memory management routines in the second library; intercepting memory allocation requests, wherein the size of the request is forwarded to the memory registration cache; and de-registering freed memory from the memory registration cache.
|