Bad data structure initializations going out of bounds of the allocated memory.
数据结构不正确的初始化超出了分配内存的边界。
A leak caused by reserving memory that is never used is just as serious as leaking allocated memory.
保留从未使用的内存造成的泄漏与已分配内存的泄漏同样严重。
The method main allocates memory, calls foo , USES the allocated memory, and then frees it and exits.
这个方法main分配内存,调用foo,使用分配的内存,然后释放它并退出。
Always properly handle return values of functions returning references of dynamically allocated memory.
始终正确处理返回动态分配的内存引用的函数返回值。
Therefore, omitting the maximum cardinality does not have any impact on the amount of allocated memory.
因此,省略最大基数不会对已分配的内存量产生任何影响。
This warning indicates that allocated memory is not being freed when an exception is thrown.
此警告意味着在引发异常时未释放已分配的内存。
A simple, but effective performance improvement is to carry allocated memory from one call to the next.
一种简单而有效的性能提升方法是将分配的内存从一次调用传递到下一次调用。
So, if a sequence of bytes could be a pointer to a piece of allocated memory, it marks it as being referenced.
所以,如果一个字节序列可以是一个指向一块被分配的内存的指针,那么收集器就将其标记为正在被引用。
Ring buffer logging consists of a fixed size of allocated memory buffer that is used by the process for logging.
循环缓冲区日志记录由一个固定大小的内存缓冲区构成,进程使用这个内存缓冲区进行日志记录。
The third byte of this memory location further points to some other dynamically allocated memory location of 10 bytes, as shown in Figure 6.
该内存位置的第三个字节又指向某个动态分配的10字节的内存位置,如图6所示。
The data/heap region contains dynamically allocated memory and some globally accessible program data (for example, DB2 agent private memory).
data/heap区域包含动态分配的内存和可全局访问的程序数据(例如DB2代理私有内存)。
The data region includes both statically allocated memory (such as global and static data) and dynamically allocated memory (often called the heap).
数据区域同时包括静态分配的内存(比如全局和静态数据)和动态分配的内存(通常称为堆)。
This tool determines the size of real memory, allocates enough memory to consume it, touches the allocated memory as quickly as possible, and then releases it.
该工具确定了实际内存的大小,分配足够的内存,很快地占用分配的内存然后将其释放。
This sometimes leads to problems where memory that isn't referenced is collected if, for example, an integer field contained a value that was the address of allocated memory.
有时没有被引用的内存会被收集,这样会引发问题,例如,如果一个整数域中包含一个值,该值是已分配内存的地址。
This sometimes leads to problems where memory that isn't referenced is collected if, for example, an integer field contained a value that was the address of allocated memory.
有时没有被引用的内存会被收集,这样会引发问题,例如,如果一个整数域中包含一个值,该值是已分配内存的地址。
应用推荐