You never have to worry about double-freeing memory or object lifetimes.
您永远不必担心内存的双重释放或者对象的生命周期。
A negative number indicates that the process is freeing memory allocated by another process.
一个负数,表示进程正在释放由另一个进程分配的内存。
As you can see, in this allocator, freeing memory is done in constant time, using a very simple mechanism.
如您所见,在这个分配程序中,内存的释放使用了一个非常简单的机制,在固定时间内完成内存释放。
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资源的进程并终止该进程。
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.
避免在处理器中释放内存的最好方法是,标记或记录将要释放的对象,让程序不间断地检查是否有等待被释放的内存。
His conclusion was that instead of freeing the memory back to a global pool, he would have the memory remain initialized for its intended purpose.
因此他的结论是不应该将内存释放回一个全局的内存池,而是将内存保持为针对特定目而初始化的状态。
This forces DB2 to use segment E for local connections, thus freeing one segment for database shared memory.
这样便迫使DB2将段E用于本地连接,从而为数据库共享内存空出一个段。
The consequence is that, even if memory is overwritten immediately on freeing and the new pointed value differs from the expected one, the new value might be hard to recognize as erroneous.
结果是,即使内存在释放后立即被覆盖,并且新指向的值不同于预期值,也很难识别出新值是错误值。
First, it requires extra management work (allocation and freeing of memory block) wherever a buffer block is required.
首先,它要求在需要缓冲区块的任何地方进行额外的管理工作(分配和释放内存块)。
Wrap up by unlocking the buffer and freeing its memory, closing the note, collection, and database.
通过解除缓冲区的锁定并释放其内存,然后关闭记录、集合和数据库,来结束函数的运行。
Even before freeing the memory, the value of namestr has been changed, and that is why Purify reports an MLK (memory leak) error.
甚至在这个内存释放之前,namestr值就一就已经被变更,那也是为什么Purify报告一个MLK(内存渗漏)错误的原因。
Freeing the memory becomes the responsibility of the abstract data buffer as well. Considering all that, centralizing memory management and data copying operations produces the following advantages.
释放内存也变成了抽象数据缓冲的责任。
Whenever a Power server is utilized to its maximum capacity, UPMC engineers begin looking at LPARs that can be migrated to alternate hardware with the intent of freeing up CPU and memory resources.
当一台Power服务器的利用率接近它的最大容量时,UPMC工程师开始寻找可以迁移到替代硬件的LPAR,从而释放CPU和内存资源。
The benefits of GC to application development — including pointer safety, leak avoidance, and freeing developers from needing to write custom memory-management tooling — are well documented.
应用程序开发中GC的益处——包括指针安全、避免内存泄露以及使开发人员免于编写定制的内存管理工具——已经被很好地证明。
Once the buffer is played, it will be unloaded hence freeing up the memory.
一旦这个音频缓冲区被播放完了,缓存区将因此卸载并释放内存。
"Free " is freeing only the "list" memory, not the memory on which it's members are pointing.
是唯一的“清单”,释放内存,而不是记忆它的成员是指向。
Are responsible for freeing any dynamic memory you use for this buffer.
应用程序有责任释放任何用于这块缓存的动态内存。
As it discovers each unreachable object, it USES a memory-copying function to compact the reachable objects in memory, freeing up the blocks of address Spaces allocated to unreachable objects.
每找到一个无法取得的物件时,它便会使用记忆体复制功能,压缩记忆体中可取得的物件,然后释放出为无法取得的物件所配置的位址空间区块。
As it discovers each unreachable object, it USES a memory-copying function to compact the reachable objects in memory, freeing up the blocks of address Spaces allocated to unreachable objects.
每找到一个无法取得的物件时,它便会使用记忆体复制功能,压缩记忆体中可取得的物件,然后释放出为无法取得的物件所配置的位址空间区块。
应用推荐