Searched refs:WeakRef (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/rmi/transport/
H A DWeakRef.java31 * WeakRef objects are used by the RMI runtime to hold potentially weak
38 * that WeakRef objects hash and compare to each other according to the
44 class WeakRef extends WeakReference<Object> { class in inherits:WeakReference
49 /** strong reference to the referent, for when this WeakRef is "pinned" */
53 * Create a new WeakRef to the given object.
55 public WeakRef(Object obj) { method in class:WeakRef
61 * Create a new WeakRef to the given object, registered with a queue.
63 public WeakRef(Object obj, ReferenceQueue<Object> q) { method in class:WeakRef
124 * Return true if "obj" is this identical WeakRef object, or, if the
125 * contained reference has not been cleared, if "obj" is another WeakRef
[all...]
H A DObjectTable.java66 private static final Map<WeakRef,Target> implTable =
106 return implTable.get(new WeakRef(impl));
172 WeakRef weakImpl = target.getWeakImpl();
212 WeakRef weakImpl = target.getWeakImpl();
351 WeakRef weakImpl = (WeakRef) reapQueue.remove();
H A DTarget.java50 private final WeakRef weakImpl;
90 this.weakImpl = new WeakRef(impl, ObjectTable.reapQueue);
166 WeakRef getWeakImpl() {
202 * Pin impl in target. Pin the WeakRef object so it holds a strong
214 * is empty. All of the weak/strong handling is in WeakRef

Completed in 36 milliseconds