At this point, you have an object in memory. All it takes is.
在这同时,你有一个物件在记忆体。
For two objects to be identical, they have to be the same object in memory.
两个对象要相同,它们必须在内存中是同一个对象。
Is there a way to compress an object in memory and use it transparently?
有没有一种方法来压缩内存中的对象和透明地使用它吗?
As we hinted in our last example, objects are only identical if they refer to the same object in memory.
正如在上一个示例所暗示的,只有在这些对象引用内存中同一个对象时,它们才是相同的。
In this example, if you execute the same query two times, you receive a reference to the same object in memory every time.
在这个范例中,如果执行相同的查询两次,则每次都会接收到记忆体中相同物件的参考。
A web server that is storing an object in memory will likely respond to a request faster than a web server that needs to read the file from disk.
在内存中存储某个对象的Web服务器可能会比其他需要从磁盘读取文件的Web服务器更快地响应一个请求。
In this example, if you execute different queries that return the same row from the database, you receive a reference to the same object in memory every time.
在此示例中,如果您执行返回数据库中同一行的不同查询,则您每次都会收到对内存中同一对象的引用。
Furthermore, an object in memory can be referenced by multiple references that could be strong, soft, weak, or phantom. Before proceeding further, let's look at some terminology.
而且,内存中的一个对象可以被多个引用(可以是强引用、软引用、弱引用或虚引用)引用。
The object of great interest at the temple was a large marble tower built in memory of Buddha.
那庙里使人极感兴趣的东西是一座为纪念佛陀而修建的大理石巨塔。
In doing so, you also need to allocate memory and create the object.
然而这样做,您也需要分配内存和创建对象。
This approach to serialization forces a string representation of the entire object to be created in memory before a single character can be written, which is a big performance drag for large objects.
这种序列化方式强行在写入一个字符之前在内存中建立整个对象的字符串表示,对于大型对象来说,这是个非常大的性能拖累。
The issue was caused by a custom tag engine, that kept large object lists in memory.
问题是由自定义标签引擎引起的,它会在内存中存放大型对象列表。
A code profiler helps identify and optimize code hot spots, and really helps in understanding object usage and potential memory leaks.
代码评测器帮助鉴别和优化代码,并且在理解对象使用和潜在内存泄露方面真的很有帮助。
A transient variable enables the application to keep a copy in local memory, but rebuilds the object if using the backup copy.
临时变量允许应用程序在本地内存中保留副本,但可以在使用备份副本的情况下重新构建对象。
If no class objects are found in the owner chain, then this denotes the root object in the memory dump from where the leak container can be reached.
如果在所有者链中未发现任何类对象,则此术语表示可找到泄漏容器的内存转储中的根对象。
This program demonstrates a basic memory leaking operation involving an unbounded growth in a cache object.
此程序演示的基本内存泄漏操作涉及缓存对象中的无限增长。
Memory is allocated automatically in the heap area for each instantiated object, and the garbage collector periodically reclaims memory occupied by objects that are no longer needed.
每个实例化的对象都自动在堆中分配内存,垃圾收集程序定期收回不再使用的对象所占据的内存。
This technique may end up only being applicable when using very large, in memory object collections.
这个技术目前只在使用大型的内存对象集合的情况下才可用。
These rules control both the relationships allowed between scopes and the allowed references from an object in a scope to objects in other memory areas.
这些规则控制了作用域之间的许可关系,以及作用域中的对象对其他内存区域中的对象的引用。
For a process to use a Shared memory object, the process has to map the object in its address space.
使用共享内存对象的进程必须在自己的地址空间中映射对象。
Create your Shared memory object as shown in Listing 2.
像清单2这样创建共享内存对象。
The researchers controlled for differences in vision, general object recognition and memory.
研究人员通过控制实验,测试他们在视觉、总体物体识别和记忆上的差别。
It should be noted that the size of the in-memory business object (BO) can be much larger than the representation available on the wire.
应该注意,内存中业务对象(BO)的大小可能比线路上可用的表示要大得多。
The AXIOM terminology for this is caching: AXIOM allows you to get StAX events or serialize the XML with or without building the object model in memory.
用AXIOM的术语称为缓冲:无论是否在内存中建立了对象模型,AXIOM都允许获得StAX事件或者序列化XML。
After all, no matter how many times an entity object is updated in memory during an atomic Web flow, the SQL flush happening at the end of the flow only sees the final state of the entity instance.
毕竟,无论在原子we b流期间,在内存中对实体对象更新了多少次,流结尾处发生的SQL刷新只能看到实体实例的最后状态。
The fix is simple: client2 refreshes its view of the object graph in memory, using the refresh method on the extension object (which is returned by ext ).
改进方法很简单:client2使用extension对象上的refresh方法刷新它在内存中的对象图视图,extension对象由ext返回。
In Listing 4, you create the Shared memory object using the open_only and read_only attributes.
在清单4中,使用open_only和read_only属性创建共享内存对象。
The code at BE allocates the memory from the heap for the Singleton object and stores a pointer to that memory in eax.
be处的代码为Singleton对象从堆中分配内存,并将一个指向该块内存的指针存储到eax中。
The code at BE allocates the memory from the heap for the Singleton object and stores a pointer to that memory in eax.
be处的代码为Singleton对象从堆中分配内存,并将一个指向该块内存的指针存储到eax中。
应用推荐