2 ms·
What the fuck are you talking about? Making a goddamn syscall to get the VM usage of other processes is not an undocumented API.
by blasdel 17y ago
What the fuck are you talking about? Making a goddamn syscall to get the VM usage of other processes is not an undocumented API.
- antonovka 17y agoYes -- the API (host_statistics() on Darwin) is in the public headers and is not private. Of course, it wasn't the ability to show free memory that they removed, rather, the ability to trigger OS low memory handling by allocating (nearly) all available free memory.
- blasdel 17y agoMaybe he'll try to tell us "malloc() ain't a part of no public API I ever herd of!"