Home
last modified time | relevance | path

Searched refs:objects (Results 1 – 25 of 29) 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.cc201 heap_->RecordFree(freed.objects, freed.bytes); in RecordFree()
205 heap_->RecordFree(freed.objects, freed.bytes); in RecordFreeLOS()
Dmark_sweep.cc1215 StackReference<mirror::Object>* objects = allocations->Begin(); in SweepArray() local
1244 StackReference<mirror::Object>* out = objects; in SweepArray()
1246 mirror::Object* const obj = objects[i].AsMirrorPtr(); in SweepArray()
1256 freed.objects += chunk_free_pos; in SweepArray()
1268 freed.objects += chunk_free_pos; in SweepArray()
1274 count = out - objects; in SweepArray()
1285 mirror::Object* const obj = objects[i].AsMirrorPtr(); in SweepArray()
1291 ++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/tools/ahat/
DREADME.txt20 * Let user re-sort sites objects info by clicking column headers.
31 * Include a link to /objects in the overview and menu?
37 * [low priority] Have a switch to choose whether unreachable objects are
39 reachable objects that people care about?
43 objects normally sorted by 'app' heap by default.
44 * Visit /objects without parameters and verify it doesn't throw an exception.
45 * Visit /objects with an invalid site, verify it doesn't throw an exception.
46 * That we can view the list of all objects in a reasonably short amount of
60 Allow hex ids to be used for objects in query parameters.
68 Properly mark thread and non-default root objects as roots.
[all …]
/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/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/540-checker-rtp-bug/
Dinfo.txt1 Test that we set the proper types for objects (b/25008765).
/art/test/152-dead-large-object/
Dinfo.txt1 Test that large objects are freed properly after a GC.
/art/test/114-ParallelGC/
Dinfo.txt1 Imported from oat tests. Allocates and frees objects with multiple threads.
/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/
Dimage.cc151 const ImageSection& objects = GetObjectsSection(); in VisitObjects() local
153 for (size_t pos = kStartPos; pos < objects.Size(); ) { in VisitObjects()
154 mirror::Object* object = reinterpret_cast<mirror::Object*>(base + objects.Offset() + pos); in VisitObjects()
Dreflection.cc631 ObjPtr<mirror::ObjectArray<mirror::Object>> objects = in InvokeMethod() local
636 uint32_t arg_count = (objects != nullptr) ? objects->GetLength() : 0; in InvokeMethod()
666 if (!arg_array.BuildArgArrayFromObjectArray(receiver, objects, np_method, soa.Self())) { in InvokeMethod()
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DSite.java265 public void getObjects(String heapName, String className, Collection<AhatInstance> objects) { in getObjects() argument
269 objects.add(inst); in getObjects()
276 child.getObjects(heapName, className, objects); in getObjects()
/art/runtime/gc/space/
Dbump_pointer_space.h157 void RecordFree(int32_t objects, int32_t bytes) { in RecordFree() argument
158 objects_allocated_.FetchAndSubSequentiallyConsistent(objects); 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/runtime/arch/
Dstub_test.cc708 Handle<mirror::String> objects[kNumberOfLocks]; in TestUnlockObject() local
714 objects[i] = hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "")); in TestUnlockObject()
724 objects[index]->IdentityHashCode(); in TestUnlockObject()
726 LockWord lock_iter = objects[index]->GetLockWord(false); in TestUnlockObject()
745 test->Invoke3(reinterpret_cast<size_t>(objects[index].Get()), 0U, 0U, art_quick_lock_object, in TestUnlockObject()
749 test->Invoke3(reinterpret_cast<size_t>(objects[index].Get()), 0U, 0U, in TestUnlockObject()
757 LockWord lock_iter = objects[index]->GetLockWord(true); in TestUnlockObject()
762 MonitorInfo info(objects[index].Get()); in TestUnlockObject()
781 test->Invoke3(reinterpret_cast<size_t>(objects[index].Get()), 0U, 0U, art_quick_unlock_object, in TestUnlockObject()
786 LockWord lock_after4 = objects[index]->GetLockWord(false); in TestUnlockObject()
/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()
/art/test/
DAndroid.bp239 "920-objects/objects.cc",

12