技巧是为每一个对象分配一个节点。
从对象信息定位对象分配的行
To locate object allocation line from the object information
为对象分配空间。
在你这样做之前,你必须为对象分配内存。
And before you do that, you have to allocate memory for the object.
由类类型对象分配的资源一般会被适当地释放。
Resources allocated by an object of class type generally will be properly freed.
然而这样做,您也需要分配内存和创建对象。
In doing so, you also need to allocate memory and create the object.
所以,不仅分配要快,对于多数对象来说,回收也要自由。
Therefore, not only is allocation fast, but for most objects, deallocation is free.
在这种情况里,延迟清理会在一个单独对象的分配上耗费很长时间。
In that case, lazy sweep spends a long time on a single object allocation.
新对象始终在新空间中分配。
新对象被放置到分配空间中,直到耗尽其闲置空间。
New objects are placed in allocate space until its free space has been exhausted.
可以分配的用户权限特定于对象的类型。
The user privileges that can be assigned are specific to the type of object.
但要求分配空间的对象也相当大。
But the object requesting allocation space was also quite large.
tests (Collection对象)——保存分配的测试集合。
tests (a Collection object) - Holds the set of assigned tests.
将文档的根分配给元素对象root。
这样的对象可以安全地在堆栈上而不是在堆上分配。
Such objects can be safely allocated on the stack instead of the heap.
如果一个对象引用了太多其他对象,它给分配和收集都增加了压力。
If an object is reference rich, it puts pressure on both allocation and collection.
可以分配这些对象来完成某个特定任务,任务完成后就很少会再用到这些对象。
These are allocated to accomplish a specific task, and are rarely needed afterwards.
价值分配的对象是价值,不是财富。
增强版本实现了对单个对象的多个分配。
The enhanced version allows for multiple assignments of a single object.
最后介绍了视频对象编码中的比特分配问题。
At last, bit allocation of video object coding is discussed.
应用程序无法分配连接管理器对象所用的内存。
The application was unable to allocate memory for the Connection Manager object.
但块是一种特殊的对象,通常是在堆栈上分配。
But blocks are a special kind of object that is normally allocated on the stack.
此数字不包括子函数所分配的对象数。
This number does not include allocations that were made by child functions.
此数字不包括子函数所分配的对象数。
This number does not include allocations that were made by child functions.
应用推荐