3 ms·
One option: Just go further up the chain. Malloc is going to be implemented (probably) using mmap/VirtualAlloc/whatever, just teach the system about those nativ
by yoklov 8y ago
One option: Just go further up the chain. Malloc is going to be implemented (probably) using mmap/VirtualAlloc/whatever, just teach the system about those native calls as allocations.
(This probably is not a satisfying resolution there, since it's likely impossible to enumerate all the primitive memory allocation functions)