/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
H A D | RuntimeMemorySpy.java | 19 import java.lang.ref.Reference; 30 Reference ref = notifyQueue.poll(); // non-blocking check 31 while (ref != null) { 32 orphanedMemory(ref); 33 ref = notifyQueue.poll();
|
H A D | AbstractMemorySpy.java | 21 import java.lang.ref.ReferenceQueue; 22 import java.lang.ref.Reference; 23 import java.lang.ref.PhantomReference; 104 protected void orphanedMemory(Reference ref) { argument 109 PlatformAddress shadow = refToShadow.remove(ref); 120 ref.clear();
|
/dalvik/vm/mterp/c/ |
H A D | OP_CONST_CLASS.c | 6 ref = FETCH(1); 7 ILOGV("|const-class v%d class@0x%04x", vdst, ref); 8 clazz = dvmDexGetResolvedClass(methodClassDex, ref); 11 clazz = dvmResolveClass(curMethod->clazz, ref, true);
|
H A D | OP_CONST_STRING.c | 6 ref = FETCH(1); 7 ILOGV("|const-string v%d string@0x%04x", vdst, ref); 8 strObj = dvmDexGetResolvedString(methodClassDex, ref); 11 strObj = dvmResolveString(curMethod->clazz, ref);
|
H A D | OP_CHECK_CAST.c | 9 ref = FETCH(1); /* class to check against */ 10 ILOGV("|check-cast v%d,class@0x%04x", vsrc1, ref); 18 clazz = dvmDexGetResolvedClass(methodClassDex, ref); 20 clazz = dvmResolveClass(curMethod->clazz, ref, false);
|
H A D | OP_INSTANCE_OF.c | 8 ref = FETCH(1); /* class to check against */ 9 ILOGV("|instance-of v%d,v%d,class@0x%04x", vdst, vsrc1, ref); 19 clazz = dvmDexGetResolvedClass(methodClassDex, ref); 22 clazz = dvmResolveClass(curMethod->clazz, ref, true);
|
H A D | OP_NEW_INSTANCE.c | 9 ref = FETCH(1); 10 ILOGV("|new-instance v%d,class@0x%04x", vdst, ref); 11 clazz = dvmDexGetResolvedClass(methodClassDex, ref); 13 clazz = dvmResolveClass(curMethod->clazz, ref, false);
|
H A D | OP_EXECUTE_INLINE.c | 24 ref = FETCH(1); /* inline call "ref" */ 27 vsrc1, ref, vdst); 50 if (!dvmPerformInlineOp4Dbg(arg0, arg1, arg2, arg3, &retval, ref)) 53 if (!dvmPerformInlineOp4Std(arg0, arg1, arg2, arg3, &retval, ref))
|
H A D | OP_NEW_ARRAY.c | 11 ref = FETCH(1); 13 vdst, vsrc1, ref, (s4) GET_REGISTER(vsrc1)); 19 arrayClass = dvmDexGetResolvedClass(methodClassDex, ref); 21 arrayClass = dvmResolveClass(curMethod->clazz, ref, false);
|
H A D | gotoTargets.c | 22 ref = FETCH(1); /* class ref */ 29 vsrc1, ref, vdst, vdst+vsrc1-1); 34 vsrc1, ref, vdst, arg5); 40 arrayClass = dvmDexGetResolvedClass(methodClassDex, ref); 42 arrayClass = dvmResolveClass(curMethod->clazz, ref, false); 112 ref = FETCH(1); /* method ref */ 122 vsrc1, ref, vdst, vdst+vsrc1-1); 127 vsrc1 >> 4, ref, vds [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/ref/ |
H A D | ReferenceTest.java | 17 package tests.api.java.lang.ref; 26 import java.lang.ref.PhantomReference; 27 import java.lang.ref.Reference; 28 import java.lang.ref.ReferenceQueue; 29 import java.lang.ref.SoftReference; 30 import java.lang.ref.WeakReference; 93 * @tests java.lang.ref.Reference#clear() 122 * @tests java.lang.ref.Reference#enqueue() 141 Reference ref = new SoftReference(obj, rq); 142 assertTrue("Enqueue failed.", (!ref [all...] |
H A D | SoftReferenceTest.java | 17 package tests.api.java.lang.ref; 25 import java.lang.ref.Reference; 26 import java.lang.ref.ReferenceQueue; 27 import java.lang.ref.SoftReference; 40 * @tests java.lang.ref.SoftReference#SoftReference(java.lang.Object, 41 * java.lang.ref.ReferenceQueue) 47 args = {java.lang.Object.class, java.lang.ref.ReferenceQueue.class} 70 * @tests java.lang.ref.SoftReference#SoftReference(java.lang.Object) 90 * @tests java.lang.ref.SoftReference#get() 131 Reference ref; [all...] |
H A D | WeakReferenceTest.java | 18 package tests.api.java.lang.ref; 25 import java.lang.ref.ReferenceQueue; 26 import java.lang.ref.WeakReference; 37 * @tests java.lang.ref.WeakReference#WeakReference(java.lang.Object, 38 * java.lang.ref.ReferenceQueue) 44 args = {java.lang.Object.class, java.lang.ref.ReferenceQueue.class} 70 * @tests java.lang.ref.WeakReference#WeakReference(java.lang.Object)
|
H A D | PhantomReferenceTest.java | 18 package tests.api.java.lang.ref; 25 import java.lang.ref.PhantomReference; 26 import java.lang.ref.Reference; 27 import java.lang.ref.ReferenceQueue; 41 * @tests java.lang.ref.PhantomReference#get() 127 * @tests java.lang.ref.PhantomReference#PhantomReference(java.lang.Object, 128 * java.lang.ref.ReferenceQueue) 134 args = {java.lang.Object.class, java.lang.ref.ReferenceQueue.class}
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
H A D | HttpRetryExceptionTest.java | 44 HttpRetryException ref = (HttpRetryException) reference; 47 assertEquals("getLocation", ref.getLocation(), tst.getLocation()); 48 assertEquals("responseCode", ref.responseCode(), tst.responseCode()); 49 assertEquals("getReason", ref.getReason(), tst.getReason()); 50 assertEquals("getMessage", ref.getMessage(), tst.getMessage());
|
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
H A D | InputStreamTest.java | 162 byte[] ref = testString.getBytes(); 172 equal &= (b[i] == ref[i]); 178 b = new byte[ref.length]; 181 bytesRead, ref.length - 10); 184 equal &= (b[i] == ref[i + 10]); 260 byte[] ref = testString.getBytes(); 270 equal &= (b[i] == ref[i]); 279 equal &= (b[i] == ref[i]); 285 b = new byte[ref.length]; 290 bytesRead, ref [all...] |
/dalvik/libcore/luni-kernel/src/main/java/java/lang/ref/ |
H A D | PhantomReference.java | 33 package java.lang.ref;
|
H A D | SoftReference.java | 33 package java.lang.ref; 43 * A set {@code ref} of references is determined. {@code ref} contains the 56 * All references in {@code ref} are atomically cleared. 60 * ref} will be enqueued with their corresponding reference queues, if any.
|
H A D | WeakReference.java | 33 package java.lang.ref; 43 * A set {@code ref} of references is determined. {@code ref} contains the 56 * All references in {@code ref} are atomically cleared. 59 * All objects formerly being referenced by {@code ref} become eligible for 63 * At some future point, all references in {@code ref} will be enqueued
|
H A D | Reference.java | 33 package java.lang.ref; 58 * and be a java.lang.ref.ReferenceQueue. 64 * Used internally by java.lang.ref.ReferenceQueue. 66 * and be a java.lang.ref.Reference. 99 * java.lang.ref.*Reference classes and that subclass overrides enqueue(),
|
/dalvik/tests/036-finalizer/src/ |
H A D | FinalizerTest.java | 3 import java.lang.ref.WeakReference;
|
H A D | Main.java | 3 import java.lang.ref.WeakReference; 57 Object ref = wimp.get(); 58 if (ref != null) { 59 s[0] = ref.toString();
|
/dalvik/vm/alloc/ |
H A D | HeapTable.c | 64 bool dvmHeapAddRefToLargeTable(LargeHeapRefTable **tableP, Object *ref) argument 69 assert(ref != NULL); 107 LOGE_HEAP("Can't allocate a new large ref table\n"); 111 LOGE_HEAP("Can't initialize a new large ref table\n"); 127 *table->refs.nextEntry++ = ref; 141 LOGE_HEAP("Can't allocate a new large ref table\n"); 203 Object **ref, **lastRef; local 205 ref = table->refs.table; 214 while (ref < lastRef) { 215 dvmMarkObjectNonNull((Object *)((uintptr_t)*ref [all...] |
/dalvik/vm/mterp/x86/ |
H A D | OP_ARRAY_LENGTH.S | 7 GET_VREG(%ecx,rINST_FULL) # ecx<- vB (object ref)
|
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | CodeItem.java | 52 private final CstMethodRef ref; field in class:CodeItem 78 * @param ref non-null; method that this code implements 85 public CodeItem(CstMethodRef ref, DalvCode code, boolean isStatic, argument 89 if (ref == null) { 90 throw new NullPointerException("ref == null"); 101 this.ref = ref; 122 debugInfo = new DebugInfoItem(code, isStatic, ref); 147 return ref.toHuman(); 156 return ref; [all...] |