您要查找的是不是:
- Create a short weak reference for the object. 一般只需要短弱引用。
- Number of weak references to this AppDomain. 对AppDomain进行弱引用的数目。
- Is used to instigate garbage collection or to change the weak reference back to a strong reference to the object. 但是,如果没有对目标的强引用,目标将符合垃圾回收的条件,即使仍然存在对该对象的弱引用。
- Returns the current generation number of the target of a specified weak reference. 返回指定弱引用的目标的当前代数。
- Weak References: A weak reference provides a reference to an object while still allowing that object's memory to be reclaimed. 弱引用:弱引用在提供了对象引用的同时允许该对象的内存被回收。
- Weak references are zeroed before the finalizer runs, so even if the finalizer resurrects the object, the Weak reference is still zeroed. 在终结器运行之前,Weak引用归零,因此即使终结器使该对象复活,Weak引用仍然是归零的。
- With weak references, you can maintain a reference to the referent without preventing it from being garbage collected. 使用弱引用后,可以维持对referent的引用,而不会阻止它被垃圾收集。
- Weak references have two constructors: one takes only the referent as an argument and the other also takes a reference queue. 弱引用有两个构造函数:一个只取referent作为参数,另一个还取引用队列作为参数。
- Synchronization blocks hold weak references to managed objects and must be scanned by the garbage collector. 同步块保留对托管对象的弱引用并且必须由垃圾回收器扫描。
- One approach that is sometimes suggested for dealing with lapsed listeners is to use weak references. 有时推荐的一个处理失效侦听器的方法是使用弱引用。
- The spirit is willing but the flesh is weak. 心有余而力不足。
- Which are related to weak references, and we ll look at the behavior of the garbage collector in the presence of weak and soft references. 将分析在使用弱引用和软引用时,垃圾收集器的行为。
- The default implementation stores relationships in a dictionary using weak references so the relationship table does not keep objects alive. 默认的实现将关系存储在使用弱引用的字典中,因此关系表不保持对象的活动状态。
- Soft references, like weak references, can help applications prevent object loitering by enlisting the aid of the garbage collector in making cache eviction decisions. 与弱引用一样,软引用通过利用垃圾收集器在作出缓存回收决策方面的帮助,有助于防止应用程序出现对象游离。
- This month, sanitation engineer Brian Goetz explores a common cause of unintentional object retention and shows how to plug the leak with weak references. 本月,负责保障应用程序健康的工程师Brian Goetz探讨了无意识的对象保留的常见原因,并展示了如何用弱引用堵住泄漏。
- A common use for weak references is to implement a cache of objects without requiring that an object be kept alive solely because it appears in the cache. 弱引用常用于实现对象的高速缓存而不需要该对象一直有效,因为它会被缓存起来。
- The shock make me go all weak at the knee. 这件事把我吓得两腿发软。
- This reference book is very useful to our study. 这本参考书对我们的研究很有用。
- Is this reference book of any use to me? 这本参考书对我有用处吗?
- I like to have my reference book within my reach. 我喜欢把参考书放在随手拿得到的地方。
- 今日热词
-
- 深远海浮式风电平台 - deep-sea floating wind power platform
-
- 京雄高速公路 - Beijing-Xiongan expressway
-
- 农业及相关产业增加值 - the added value of agriculture and related industries