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

1 2 3

  /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);
  /libcore/libart/src/main/java/java/lang/ref/
Reference.java 102 * If GC is not in progress (ie: not going through slow path), the referent
110 * Used by the reference processor to determine whether or not the referent
111 * can be immediately returned. Because the referent might get swept during
118 * VM requirement: this field <em>must</em> be called "referent"
121 volatile T referent; field in class:Reference
125 * when the referent is appropriately reachable.
156 referent = r;
161 * Makes the referent {@code null}. This does not force the reference
165 referent = null;
197 * Returns the referent of the reference object
    [all...]
  /art/runtime/native/
java_lang_ref_Reference.cc 29 mirror::Object* const referent = member in class:art::mirror
31 return soa.AddLocalReference<jobject>(referent);
  /libcore/luni/src/main/java/java/lang/ref/
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);
103 if (r.referent == sentinel) {
105 sentinelReference.referent = null;
  /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);
  /external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/
PayloadAlignmentTest.java 110 Instruction31t referent = (Instruction31t)instructions.get(0); local
111 Assert.assertEquals(6, referent.getCodeOffset());
138 Instruction31t referent = (Instruction31t)instructions.get(0); local
139 Assert.assertEquals(8, referent.getCodeOffset());
197 OffsetInstruction referent = (OffsetInstruction)instructions.get(7); local
198 Assert.assertEquals(-14, referent.getCodeOffset());
248 OffsetInstruction referent = (OffsetInstruction)instructions.get(7); local
249 Assert.assertEquals(-18, referent.getCodeOffset());
  /art/runtime/gc/
reference_processor.cc 52 mirror::Object* const referent = reference->GetReferent(); member in class:art::gc::mirror
53 // If the referent is null then it is already cleared, we can just return null since there is no
55 if (UNLIKELY(!SlowPathEnabled()) || referent == nullptr) {
56 return referent;
62 // If the referent became cleared, return it. Don't need barrier since thread roots can't get
67 // Try to see if the referent is already marked by using the is_marked_callback. We can return
72 // If it's null it means not marked, but it could become marked if the referent is reachable
108 // We are done preserving references, some people who are blocked may see a marked referent.
159 // Clear all finalizer referent reachable soft and weak references with white referents.
183 // Process the "referent" field in a java.lang.ref.Reference. If the referent has not yet bee
191 mirror::HeapReference<mirror::Object>* referent = ref->GetReferentReferenceAddr(); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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);
  /art/runtime/mirror/
reference.h 70 void SetReferent(Object* referent) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
71 SetFieldObjectVolatile<kTransactionActive>(ReferentOffset(), referent); local
78 // the java threads for cleared references. Once these cleared references have a null 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 
  /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/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.equinox.common_3.6.200.v20130402-1505.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 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.equinox.common_3.6.200.v20130402-1505.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...]
  /art/patchoat/
patchoat.cc 357 mirror::Object* referent = obj->GetFieldObject<mirror::Object, kVerifyNone>(off); local
358 DCHECK(patcher_->InHeap(referent)) << "Referent is not in the heap.";
359 mirror::Object* moved_object = patcher_->RelocatedAddressOf(referent);
365 mirror::Object* referent = ref->GetReferent(); local
366 DCHECK(patcher_->InHeap(referent)) << "Referent is not in the heap.";
367 mirror::Object* moved_object = patcher_->RelocatedAddressOf(referent);
    [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/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
MutableMethodImplementation.java 485 MethodLocation referent = instructionList.get(mapCodeAddressToIndex(codeAddressToIndex, codeAddress));
486 return referent.addNewLabel();
496 MethodLocation referent = instructionList.get(mapCodeAddressToIndex(codeAddressToIndex, codeAddress));
499 referent.getLabels().add(label);
    [all...]

Completed in 672 milliseconds

1 2 3