The most common source of unintentional object retention is the use of a Map to associate metadata with transient objects.
无意识对象保留最常见的原因是使用Map将元数据与临时对象(transient object)相关联。
This results in a "flat heap", where the entire heap space is available for transient object allocation rather than just the nursery space.
这将导致一个“扁平堆”,其中,整个堆空间(而不只是保育空间)都可用于临时对象分配。
For example, last time we saw how failing to demarcate an object's lifecycle could cause unintentional object retention when trying to associate metadata with transient objects.
例如,上一次我们看到了,不能划分对象的生命周期会导致,在试图将元数据关联到瞬时对象时出现意外的对象保持。
There are a number of considerations (versioning, transient objects, Enum constants, etc.) when using object serialization, so I would suggest you do some reading about the subject.
有多方面的考虑(版本控制,瞬时对象,枚举常量时,使用对象序列化等),所以我建议做一些阅读的主题。
This business object will define the transient context used.
这个业务对象将定义所使用的瞬态上下文。
That means that the metadata about an LSID is the perfect location for storing transient information about the object in question.
这意味着关于某一LSID的元数据是存储所关注对象的瞬态信息的极佳位置。
The transfer object is a transient hash used to move data back and forth between controller and view.
传输对象是一个短暂的hash,用于在控制器与视图之间来回移动数据。
In addition, Listing 6 creates a StreamSource object to represent the transient XML data that will be joined with the appropriate trade data stored in DB2.
另外,清单6创建一个StreamSource对象来给出将与存储在DB 2中的适当交易数据联接的临时XML数据。
A transient variable enables the application to keep a copy in local memory, but rebuilds the object if using the backup copy.
临时变量允许应用程序在本地内存中保留副本,但可以在使用备份副本的情况下重新构建对象。
In example 11, we used "select-before-update" for ElectricityDeal, which incurs an extra select for your transient or detached object. But it does avoid unnecessary updates to your database.
在范例11中,我们为electricitydeal加上了select - before - update,这会对瞬时(transient)对象或分离(detached)对象产生额外的select语句,但却能避免不必要的数据库更新。
The Session object provides the programmer with a transient storage layer, much like those found in traditional object-relational mapping tools, and also serves as a link to a particular workspace.
Session对象为程序员提供了一个临时的存储层,它非常像传统的对象关系映射工具中可以看到的层,而且还可以将它看作到特定工作区的连接。
The company will with transient fierce momentum into industrial production, household building materials, coating industry, construction industry such as the optimization object.
本公司将以瞬猛的势头成为工业生产、建筑行业、家居建材、涂料行业等的优选对象。
The far-sighted, perfect love that seeks the perfection of its object does not weakly shrink from present, transient suffering.
目光深远的,完全的爱,为要人们得益,只得不顾怜祂们目前暂时的苦楚了。
Never try to save a Manager Instance on a non - transient field of a Managed Object.
绝对不要尝试在一个管理对象的非瞬时域上保存一个管理器实例。
The transient response of the arbitrary shaped conductor and wire composite object is analyzed by the time-domain integral equation (TDEFIE).
本文采用微分形式的时域电场积分方程(TDEFIE)时间步进算法(MOT)对任意形状导体与线天线组合目标的电磁瞬态特性进行了分析。
The transient response of the arbitrary shaped conductor and wire composite object is analyzed by the time-domain integral equation (TDEFIE).
本文采用微分形式的时域电场积分方程(TDEFIE)时间步进算法(MOT)对任意形状导体与线天线组合目标的电磁瞬态特性进行了分析。
应用推荐