HomeSort by relevance Sort by last modified time
    Searched refs:referent (Results 1 - 25 of 42) sorted by null

1 2

  /libcore/luni/src/main/java/java/lang/ref/
Reference.java 102 * VM requirement: this field <em>must</em> be called "referent"
105 volatile T referent; field in class:Reference
109 * when the referent is appropriately reachable.
140 referent = r;
145 * Makes the referent {@code null}. This does not force the reference
149 referent = null;
181 * Returns the referent of the reference object.
183 * @return the referent to which reference refers, or {@code null} if the
187 return referent;
FinalizerReference.java 37 // When the GC wants something finalized, it moves it from the 'referent' field to
53 public static void add(Object referent) {
54 FinalizerReference<?> reference = new FinalizerReference<Object>(referent, queue);
97 if (r.referent == sentinel) {
99 sentinelReference.referent = null;
  /external/guava/guava/src/com/google/common/base/
FinalizablePhantomReference.java 24 * after the garbage collector reclaims the referent. This is a simpler alternative to using a
37 * @param referent to phantom reference
38 * @param queue that should finalize the referent
40 protected FinalizablePhantomReference(T referent, FinalizableReferenceQueue queue) {
41 super(referent, queue.queue);
FinalizableSoftReference.java 24 * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link
35 * @param referent to softly reference
36 * @param queue that should finalize the referent
38 protected FinalizableSoftReference(T referent, FinalizableReferenceQueue queue) {
39 super(referent, queue.queue);
FinalizableWeakReference.java 24 * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link
35 * @param referent to weakly reference
36 * @param queue that should finalize the referent
38 protected FinalizableWeakReference(T referent, FinalizableReferenceQueue queue) {
39 super(referent, queue.queue);
  /dalvik/hit/src/com/android/hit/
ArrayInstance.java 139 public String describeReferenceTo(long referent) {
142 return super.describeReferenceTo(referent);
166 if (id == referent) {
181 return super.describeReferenceTo(referent);
ClassInstance.java 157 public String describeReferenceTo(long referent) {
185 if (id == referent) {
203 return super.describeReferenceTo(referent);
  /libcore/luni/src/test/java/tests/api/java/lang/ref/
ReferenceTest.java 42 public TestWeakReference(T referent) {
43 super(referent);
46 public TestWeakReference(T referent, ReferenceQueue<? super T> q) {
47 super(referent, q);
97 assertNull("Referent is not null.", pr.get());
103 assertNull("Referent is not null.", pr.get());
279 * Checks to make sure that the referent of the WeakReference
289 public TestObject(String referent) {
290 stringRef = new WeakReference<String>(referent);
295 /* If a VM bug has caused the referent to ge
    [all...]
PhantomReferenceTest.java 25 //TODO: write a test to verify that the referent's finalize() happens
54 public TestPhantomReference(T referent,
56 super(referent, q);
  /dalvik/vm/alloc/
MarkSweep.cpp 404 * Process the "referent" field in a java.lang.ref.Reference. If the
405 * referent has not yet been marked, put it on the appropriate list in
418 Object *referent = dvmGetFieldObject(obj, referentOffset); local
419 if (pending == NULL && referent != NULL && !isMarked(referent, ctx)) {
629 * Clear the referent field.
664 * reference clearing policy. References with a black referent are
677 Object *referent = dvmGetFieldObject(ref, referentOffset); local
678 if (referent == NULL) {
679 /* Referent was cleared by the user during marking. *
713 Object *referent = dvmGetFieldObject(ref, referentOffset); local
739 Object *referent = dvmGetFieldObject(ref, referentOffset); local
    [all...]
Copying.cpp 1005 * Sets the referent field of a reference object to NULL.
1026 Object *referent = field->l;
1029 assert(referent != NULL);
1030 if (isForward(referent->clazz)) {
1031 field->l = referent = getForward(referent->clazz);
1034 if (fromSpaceContains(referent)) {
1035 /* Referent is white, clear it. */
1072 Object *referent = field->l;
1074 assert(referent != NULL)
    [all...]
CardTable.cpp 307 * just the referent is unmarked.
319 const Object *referent = dvmGetFieldObject(obj, offset); local
320 return !dvmHeapBitmapIsObjectBitSet(ctx->markBits, referent);
  /libcore/luni/src/main/java/java/lang/
ProcessManager.java 319 public ProcessReference(ProcessImpl referent, ProcessReferenceQueue referenceQueue) {
320 super(referent, referenceQueue);
321 this.processId = referent.pid;
  /prebuilts/tools/common/eclipse/
org.eclipse.equinox.common_3.4.0.v20080421-2006.jar 
org.eclipse.equinox.common_3.6.0.v20100503.jar 
  /art/runtime/gc/collector/
mark_sweep.cc 1336 Object* referent = heap_->GetReferenceReferent(obj); local
1475 Object* referent = heap_->GetReferenceReferent(ref); local
1517 Object* referent = heap_->GetReferenceReferent(ref); local
1539 Object* referent = heap_->GetReferenceReferent(ref); local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.common_3.6.0.v20100503.jar 
  /prebuilts/devtools/tools/lib/
org-eclipse-equinox-common-3.6.0.jar 
  /prebuilts/tools/common/m2/repository/com/android/external/eclipse/org-eclipse-equinox-common/3.6.0/
org-eclipse-equinox-common-3.6.0.jar 
  /external/smack/src/org/jivesoftware/smack/util/collections/
AbstractReferenceMap.java 674 * Constructs a reference of the given type to the given referent.
678 * @param referent the object to refer to
680 * this number might be different from referent.hashCode() if
681 * the referent represents a value and not a key
683 protected <T> Reference<T> toReference(int type, T referent, int hash) {
686 return new SoftRef<T>(hash, referent, parent.queue);
688 return new WeakRef<T>(hash, referent, parent.queue);
    [all...]
  /external/emma/core/java12/com/vladium/util/
SoftValueMap.java 430 IndexedSoftReference (final Object referent, ReferenceQueue queue, final int bucketIndex)
432 super (referent, queue);
  /external/guava/guava/src/com/google/common/cache/
LocalCache.java 1729 final V referent; field in class:LocalCache.StrongValueReference
    [all...]
  /external/llvm/utils/llvm-build/llvmbuild/
main.py 164 referent = self.component_info_map.get(referent_name)
165 if referent is None:
172 visit_component_info(referent, current_stack, current_set)
    [all...]
  /external/guava/guava/src/com/google/common/collect/
MapMakerInternalMap.java 1816 final V referent; field in class:MapMakerInternalMap.StrongValueReference
    [all...]
  /art/runtime/
class_linker.cc 496 mirror::ArtField* referent = java_lang_ref_Reference->GetInstanceField(3); local
497 fh.ChangeField(referent);
498 CHECK_STREQ(fh.GetName(), "referent");
507 heap->SetReferenceOffsets(referent->GetOffset(),
    [all...]

Completed in 548 milliseconds

1 2