... Doug Lea 撰写的 A Memory Allocator 给出了一个关于设计和实现分配程序的概述,其中包括设计选择与折衷。 Emery D. Berger 撰写的 ...
基于1个网页-相关网页
The Linux slab allocator uses these ideas and others to build a memory allocator that is efficient in both space and time.
Linux slab 分配器使用了这种思想和其他一些思想来构建一个在空间和时间上都具有高效性的内存分配器。
The more dynamic a program is, the more memory management becomes an issue, and the more important your choice of memory allocator becomes.
程序的动态性越强,内存 管理就越重要,您的内存分配程序的选择也就更重要。
Each new operation had to be balanced by a corresponding delete, or else your program would leak memory, and eventually the memory allocator would fail and your program would crash.
每一个new操作必须有相应的delete操作,否则您的程序就会泄漏内存,最终内存分配器(memory allocator)就会出故障,而您的程序就会崩溃。
应用推荐