as you can see, in this allocator, freeing memory is done in constant time, using a very simple mechanism.
如您所见,在这个分配程序中,内存的释放使用了一个非常简单的机制,在固定时间内完成内存释放。
the best way to avoid freeing memory in a handler is to flag or record the objects to be freed and have the program check from time to time whether anything is waiting to be freed.
避免在处理器中释放内存的最好方法是,标记或记录将要释放的对象,让程序不间断地检查是否有等待被释放的内存。
in addition, the kernel has a built-in last-ditch system for freeing memory when no more is available; it「ll find a process that」s hogging vm resources and kill it.
另外,内核有一个内建的最终防线系统,用来在没有可用内存的时候释放内存,它会找到占用vm资源的进程并终止该进程。
a negative number indicates that the process is freeing memory allocated by another process.
一个负数,表示进程正在释放由另一个进程分配的内存。