Overview of malloc 3.1 allocation policy.
malloc 3.1分配策略概述。
Have a corresponding free to every malloc.
每个malloc都要有一个对应的free。
To enable malloc buckets, use the following.
使用以下命令启用malloc buckets。
To enable malloc, use the following command.
用以下命令启用malloc。
Cons is like a specialized malloc for Scheme pairs.
cons就像是Scheme pair专用的malloc。
By default, malloc multiheap selects the next available heap.
在默认情况下,mallocmultiheap选择下一个可用的堆。
AIX malloc subsystem supports the following allocation policies.
AIXmalloc子系统支持以下分配策略。
The maximum number of heaps available to malloc multiheap is 32.
mallocmultiheap可分配的最大堆数量是32。
Pool interface — a vanilla interface that works as a malloc alternative.
池接口——替代malloc进行工作的普通接口。
The malloc.d script captures all malloc calls executed by the application.
d脚本捕捉应用程序执行的所有malloc调用。
By default, the malloc subsystem treats the entire process heap as a single entity.
在默认情况下,malloc子系统把整个进程堆当作单一实体。
By default, when malloc is called, no paging space is assigned until it is referenced.
在默认情况下,当调用malloc时并不分配分页空间,而是到引用它时才分配。
There is no graceful handling for out-of-memory errors (malloc simply assumes success).
没有很好的内存不足处理方案(malloc只假定内存分配是成功的)。
The malloc , free and realloc routines should be as fast as possible in the average case.
malloc free和realloc例程在平均情况下应该尽可能的快。
Multiheap option is not supported for malloc 3.1 and user defined allocation policies.
对于malloc 3.1和用户定义的分配策略,不支持multiheap选项。
A new M_ZERO flag for malloc allows for memory allocation and zeroing in a single operation.
新的面向malloc的M_ZERO标记允许在单个操作中完成内存分配和调零。
The two core elements of the malloc algorithm have remained unchanged since the earliest versions.
malloc算法的两个核心元素从最早的版本开始就一直保持不变。
The nature of the kinds of programs that are most sensitive to malloc implementations continually change.
对malloc实现最敏感的几种程序的特性在不断改变。
To find out the call stack for the malloc call, stktrace probe function can be called in the previous script.
要想查看malloc调用的调用堆栈,可以在前面的脚本中调用stktrace探测函数。
Sometimes application programs may depend unknowingly on the side effects of the malloc 3.1 allocation policy.
有时候,应用程序可能会不知不觉地依赖于malloc 3.1分配策略的副作用。
Though malloc may return a valid address, you don't get a page until someone tries to use it through memset ().
尽管malloc可能返回有效的地址,但是在通过memset ()尝试使用它之前,并不会获得这个页面。
When an application requires a large number of small allocation requests, malloc buckets is more commonly used.
当应用程序有许多小的分配请求时,经常使用mallocbuckets。
Configure the environment for malloc debugging by setting the MALLOCDEBUG and MALLOCTYPE environment variables.
为malloc调试配置环境,方法是设置MALLOCDEBUG和MALLOCTYPE environment variables。
The malloc allocation policy is less efficient than the default, and it is not recommended for use in most cases.
malloc分配策略的效率比默认分配策略低,对于大多数情况不建议采用这种策略。
The malloc allocation policy is less efficient than the default, and it is not recommended for use in most cases.
malloc分配策略的效率比默认分配策略低,对于大多数情况不建议采用这种策略。
应用推荐