结果,如果没有足够大的自由内存块能够满足请求的需要,则分配一个很大的对象就会失败。
As a result, the allocation of a sufficiently large object can fail if no free chunk of memory is large enough to satisfy the request.
第一行表明从地址0开始,有一块长度为65,536 (64k)的内存是自由空间。
The first line tells you that from address 0, for a length of 65,536 (64k), the memory is free.
因此,必然会引发长时间的暂停来整理碎片或进行压缩,堆将很多小块的自由内存区域整合为一块大的自由内存区域,从而满足大型分配请求。
Consequently, it must incur a long pause to defragment, or compact, the heap to coalesce many smaller free memory areas into larger free memory areas to satisfy a large allocation request.
因此,必然会引发长时间的暂停来整理碎片或进行压缩,堆将很多小块的自由内存区域整合为一块大的自由内存区域,从而满足大型分配请求。
Consequently, it must incur a long pause to defragment, or compact, the heap to coalesce many smaller free memory areas into larger free memory areas to satisfy a large allocation request.
应用推荐