当你调用一个函数,实际上发生的是函数得到了自己的内存块,它的大小与它期望的数据类型相同。
When you call a function, what actually happens is that function gets its own chunk of memory that's identical in size to the data type that it expects.
正确的内存块对齐可以得到保证。
逻辑内存则划分为逻辑内存块(LMB)。
The logical memory is divided in logical memory blocks (LMB).
分配程序库可能需要的由零填充的内存块。
Allocating blocks of zero-filled memory the library may need.
碎片是一个实际的物理内存块,它存储分区的内容。
A shard is a real, physical chunk of memory that stores the contents of a partition.
溢出是指数据被添加到分配给该缓冲区的内存块之外。
An overflow occurs when data is added to the buffer outside the block of memory allocated to the buffer.
内存块在它的前面和后边都携带他们的大小信息字段。
Chunks of memory carry around with them size information fields both before and after the chunk. This allows for two important capabilities.
结果,第二个内存块的地址丢失,从而产生了内存泄漏。
As a result, the address of the second block is lost, and there is a memory leak.
分配程序不能将空闲空间拼合为更大的内存块。
如果是的话,将合并内存块以最小化内存碎片。
pLostBlock 指向该链表的最后一个内存块。
The pLostBlock points to the linked list's last memory block.
最初可以使用内存块的一个空链表来创建一个抽象缓冲区。
You can initially create an abstract buffer with an empty linked list of memory block.
clear_user函数被用于将用户空间的内存块清零。
The clear_user function is used to zero a block of memory in user space. This function takes a pointer in user space and a size to zero, which is defined in bytes.
整个物理内存被划分为若干块,这些块称为物理内存块(PMB)。
The whole physical memory is divided into blocks called physical memory blocks (PMB).
当把内存块返回给空闲池时,像分配时一样计算bucket索引。
When a block of memory is returned to the free pool, the bucket index is calculated just like it is done with allocation.
endPoint记录最后一个内存块中第一个空闲字节的偏移位置。
The endPoint records the first free byte's offset location into the last memory block.
还有,调用mmap和mfree比雕刻出一个已存在的内存块慢许多。
Also, invoking mmap and mfree is much slower than carving out an existing chunk of memory.
将包含该分页的物理内存块标记为空闲,并为其它的分页做好重用的准备。
The physical memory block that contains the page is marked as free and ready for reuse for additional pages.
memory_log . txt文件现在包含泄漏内存块的详细信息。
The memory_log.txt file now contains details of leaked memory blocks.
GC只能收缩从堆末尾开始的连续内存块,因此收缩堆可能需要进行压缩。
The GC can only contract contiguous blocks of memory from the end of the heap, so a compaction might be required to contract the heap.
该方法释放您先前创建的内存块,并使得从分配程序例程返回的所有指针失效。
It frees every memory block you created earlier and invalidates all the Pointers returned from the allocator routines.
图15展示了逻辑内存块大小以及分区的最小、所需和最大RAM的输入位置。
Figure 15 shows where you'll enter in the logical memory block size, as well as the Min, Desired, and Max RAM for the partition.
内存管理通常是由来自编码人员的请求处理的,以分配和释放内存块。
Memory management is usually handled by requests from the coder to allocate and release blocks of memory.
源系统和目标系统的内存区域大小,也称为逻辑内存块(LMB)大小,必须相同。
The memory region size (also called logical memory block (LMB) size) must be the same on the source and destination systems.
第一个分配程序是通用分配,可以满足针对任何数量的连续内存块的请求。
The first is a general-purpose allocation and can serve requests for any number of contiguous chunks.
这让应用程序能够访问更大的内存块,而不是许多小内存块,从而提高性能。
This improves performance by allowing the application to access the memory in larger single chunks, instead of many smaller chunks.
AIX未存储关于哪些代码路径默认分配了特定内存块的信息,但这些信息很容易获得。
AIX does not store information about which code path allocated a particular chunk of memory by default, so this information is not easy to get.
结果,如果没有足够大的自由内存块能够满足请求的需要,则分配一个很大的对象就会失败。
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.
只是一些随机的四字节的内存块,在这里是可以使用的,但是我可以在那里放置东西。
It's just some random chunk of four bytes that happens to be available at this point in time, but I can put something there.
这就允许您使用内容映射来查看内存块的逻辑排列,以及结构之前及之后内存的内容。
This allows you to view a logical arrangement of the blocks of memory using the memory map, but also the contents of memory before and after the structure.
应用推荐