Home
last modified time | relevance | path

Searched refs:objects (Results 1 – 25 of 31) sorted by relevance

12

/art/test/920-objects/src/art/
DTest920.java50 Object[] objects = new Object[] { in testObjectHash() local
59 int hashes[] = new int[objects.length]; in testObjectHash()
61 for (int i = 0; i < objects.length; i++) { in testObjectHash()
62 hashes[i] = getObjectHashCode(objects[i]); in testObjectHash()
66 for (int i = 0; i < objects.length; i++) { in testObjectHash()
67 int ihash = System.identityHashCode(objects[i]); in testObjectHash()
69 throw new RuntimeException(objects[i] + ": " + hashes[i] + " vs " + ihash); in testObjectHash()
76 for (int i = 0; i < objects.length; i++) { in testObjectHash()
77 int newhash = getObjectHashCode(objects[i]); in testObjectHash()
79 throw new RuntimeException(objects[i] + ": " + hashes[i] + " vs " + newhash); in testObjectHash()
/art/runtime/gc/collector/
Dobject_byte_pair.h28 : objects(num_objects), bytes(num_bytes) {} in objects() function
30 objects += other.objects; in Add()
34 uint64_t objects; member
Diteration.h55 return freed_.objects; in GetFreedObjects()
58 return freed_los_.objects; in GetFreedLargeObjects()
Dgarbage_collector.cc271 heap_->RecordFree(freed.objects, freed.bytes); in RecordFree()
275 heap_->RecordFree(freed.objects, freed.bytes); in RecordFreeLOS()
Dmark_sweep.cc1216 StackReference<mirror::Object>* objects = allocations->Begin(); in SweepArray() local
1245 StackReference<mirror::Object>* out = objects; in SweepArray()
1247 mirror::Object* const obj = objects[i].AsMirrorPtr(); in SweepArray()
1257 freed.objects += chunk_free_pos; in SweepArray()
1269 freed.objects += chunk_free_pos; in SweepArray()
1275 count = out - objects; in SweepArray()
1286 mirror::Object* const obj = objects[i].AsMirrorPtr(); in SweepArray()
1292 ++freed_los.objects; in SweepArray()
/art/test/407-arrays/src/
DMain.java33 int[] ints, Object[] objects, long[] longs, float[] floats, in $opt$testReads() argument
50 assertNull(objects[0]); in $opt$testReads()
51 assertNull(objects[index]); in $opt$testReads()
64 int[] ints, Object[] objects, long[] longs, float[] floats, in $opt$testWrites() argument
101 objects[0] = o1; in $opt$testWrites()
102 assertEquals(o1, objects[0]); in $opt$testWrites()
104 objects[index] = o2; in $opt$testWrites()
105 assertEquals(o2, objects[index]); in $opt$testWrites()
/art/test/903-hello-tagging/src/art/
DTest903.java106 Object[] objects = (Object[])result[0]; in testGetTaggedObjectsRun() local
111 printArraysSorted(objects, tags); in testGetTaggedObjectsRun()
114 private static void printArraysSorted(Object[] objects, long[] tags) { in printArraysSorted() argument
115 if (objects == null && tags == null) { in printArraysSorted()
120 int l1 = objects == null ? 0 : objects.length; in printArraysSorted()
125 tmp[i] = new Pair(objects == null ? null : objects[i], tags == null ? 0 : tags[i]); in printArraysSorted()
/art/tools/ahat/
DREADME.txt23 * Let user re-sort sites objects info by clicking column headers.
34 * Include a link to /objects in the overview and menu?
42 objects normally sorted by 'app' heap by default.
43 * Visit /objects without parameters and verify it doesn't throw an exception.
44 * Visit /objects with an invalid site, verify it doesn't throw an exception.
45 * That we can view the list of all objects in a reasonably short amount of
69 Allow hex ids to be used for objects in query parameters.
77 Properly mark thread and non-default root objects as roots.
89 Show registered native sizes of objects.
115 Annotate char[] objects with their string values.
[all …]
/art/test/102-concurrent-gc/
Dinfo.txt1 Test that attempts to hide objects from a concurrently running GC. The
2 concurrent GC should locate the "hidden" objects through a write-barrier.
/art/test/072-reachability-fence/
Dinfo.txt1 Check that reachabilityFence() prevents garbage collection of objects only referred to by a dead
4 This is not very convincing, since we currently usually keep such objects around anyway.
/art/test/152-dead-large-object/
Dinfo.txt1 Test that large objects are freed properly after a GC.
/art/test/540-checker-rtp-bug/
Dinfo.txt1 Test that we set the proper types for objects (b/25008765).
/art/test/114-ParallelGC/
Dinfo.txt1 Imported from oat tests. Allocates and frees objects with multiple threads.
/art/runtime/
Dimage.cc140 const ImageSection& objects = GetObjectsSection(); in VisitObjects() local
142 for (size_t pos = kStartPos; pos < objects.Size(); ) { in VisitObjects()
143 mirror::Object* object = reinterpret_cast<mirror::Object*>(base + objects.Offset() + pos); in VisitObjects()
Dreflection.cc463 ObjPtr<mirror::ObjectArray<mirror::Object>> objects) in CheckArgsForInvokeMethod() argument
467 uint32_t arg_count = (objects == nullptr) ? 0 : objects->GetLength(); in CheckArgsForInvokeMethod()
481 ObjPtr<mirror::ObjectArray<mirror::Object>> objects, in InvokeMethodImpl() argument
488 if (!arg_array.BuildArgArrayFromObjectArray(receiver, objects, np_method, soa.Self())) { in InvokeMethodImpl()
691 ObjPtr<mirror::ObjectArray<mirror::Object>> objects = in InvokeMethod() local
694 if (!CheckArgsForInvokeMethod(np_method, objects)) { in InvokeMethod()
719 if (!InvokeMethodImpl(soa, m, np_method, receiver, objects, &shorty, &result)) { in InvokeMethod()
755 ObjPtr<mirror::ObjectArray<mirror::Object>> objects = in InvokeConstructor() local
758 if (!CheckArgsForInvokeMethod(np_method, objects)) { in InvokeConstructor()
765 InvokeMethodImpl(soa, constructor, np_method, receiver, objects, &shorty, &result); in InvokeConstructor()
/art/test/947-reflect-method/
Dinfo.txt3 Tests that we are able to use java/lang/reflect/Method objects to invoke methods
/art/tools/amm/models/
DJavaHeap.md3 The value of the Java heap model is the sum of bytes of Java objects allocated
/art/runtime/gc/space/
Dbump_pointer_space.h159 void RecordFree(int32_t objects, int32_t bytes) { in RecordFree() argument
160 objects_allocated_.fetch_sub(objects, std::memory_order_relaxed); in RecordFree()
/art/test/800-smali/smali/
Db_26594149_5.smali23 # Allowed operation on uninitialized objects.
Db_22411633_2.smali17 # Create a non-precise object reference. We can do this by merging to objects together
/art/test/100-reflect2/src/
DMain.java163 private static Object[] sort(Object[] objects, Comparator<Object> comp) { in sort() argument
164 Arrays.sort(objects, comp); in sort()
165 return objects; in sort()
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DSite.java269 public void getObjects(String heapName, String className, Collection<AhatInstance> objects) { in getObjects() argument
274 getObjects(predicate, x -> objects.add(x)); in getObjects()
/art/runtime/arch/
Dstub_test.cc711 Handle<mirror::String> objects[kNumberOfLocks]; in TestUnlockObject() local
717 objects[i] = hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "")); in TestUnlockObject()
727 objects[index]->IdentityHashCode(); in TestUnlockObject()
729 LockWord lock_iter = objects[index]->GetLockWord(false); in TestUnlockObject()
748 test->Invoke3(reinterpret_cast<size_t>(objects[index].Get()), 0U, 0U, art_quick_lock_object, in TestUnlockObject()
752 test->Invoke3(reinterpret_cast<size_t>(objects[index].Get()), 0U, 0U, in TestUnlockObject()
760 LockWord lock_iter = objects[index]->GetLockWord(true); in TestUnlockObject()
765 MonitorInfo info(objects[index].Get()); in TestUnlockObject()
784 test->Invoke3(reinterpret_cast<size_t>(objects[index].Get()), 0U, 0U, art_quick_unlock_object, in TestUnlockObject()
789 LockWord lock_after4 = objects[index]->GetLockWord(false); in TestUnlockObject()
/art/test/
DAndroid.bp249 "920-objects/objects.cc",
595 "920-objects/src/art/Test920.java",
642 "1913-get-set-local-objects/src/art/Test1913.java",
697 "920-objects/expected.txt",
742 "1913-get-set-local-objects/expected.txt",
/art/test/046-reflect/src/
DMain.java412 final Object[] objects = new Object[2]; in checkSwap() local
424 m.invoke(null, objects, 0, 1); in checkSwap()
435 m.invoke(s, objects, 0, 1); in checkSwap()

12