referent 英 ['ref(ə)r(ə)nt]   美 ['rɛfərənt]

referent

referent  英 ['ref(ə)r(ə)nt] 美 ['rɛfərənt]

n. 指示物;指示对象 

名词复数:referents 

Weak references have two constructors: one takes only the referent as an argument and the other also takes a reference queue. 弱引用有两个构造函数:一个只取 referent 作为参数,另一个还取引用队列作为参数。
Reference objects themselves are subject to garbage collection and can be collected before the referent, in which case they are not enqueued. Reference 对象本身服从于垃圾收集,并且可在 referent 之前被收集,在这样的情况下,它们没有加入队列。

  • 请先登录
  • n. 指示物;指示对象
  • 1. Weak references have two constructors: one takes only the referent as an argument and the other also takes a reference queue.

    弱引用有两个构造函数:一个只取 referent 作为参数,另一个还取引用队列作为参数。

  • 2. Reference objects themselves are subject to garbage collection and can be collected before the referent, in which case they are not enqueued.

    Reference 对象本身服从于垃圾收集,并且可在 referent 之前被收集,在这样的情况下,它们没有加入队列。

  • 3. All Reference types are cleared before they are enqueued, so the thread handling the post-mortem cleanup never has access to the referent object, only the Reference object.

    所有 Reference 类型在加入队列之前被清除,所以处理事后检查(post-mortem)清除的线程永远不会具有 referent 对象的访问权,而只具有 Reference 对象的访问权。

  • referent (adj.) 1838, from Latin referentem (nominative referens), present participle of referre (see refer). As a noun from 1844.
  • 请先登录