/art/test/616-cha-proxy-method-inline/src-multidex/ |
H A D | Foo.java | 18 public Object bar(Object obj); argument
|
/art/test/003-omnibus-opcodes/src/ |
H A D | Monitor.java | 25 Object obj = new Object(); 26 synchronized (obj) { 28 obj = null; // does NOT cause a failure on exit 29 Main.assertTrue(obj == null); 37 Object obj = null; 40 synchronized (obj) { 48 obj = new Object(); 49 synchronized (obj) {
|
/art/test/603-checker-instanceof/src/ |
H A D | Main.java | 31 Object obj = new ChildClass(); 34 // of 'obj' below, so create a loop that updates the type of 'obj'. 36 obj = new Object(); 39 if (obj instanceof SuperClass) { 40 // We used to wrongly type obj as an exact SuperClass from this point, 43 if (!(obj instanceof ChildClass)) { 44 throw new Error("Expected a ChildClass, got " + obj.getClass());
|
/art/test/132-daemon-locks-shutdown/src/ |
H A D | Main.java | 35 private Object obj; field in class:Main.Wait 37 public Wait(Object obj) { argument 38 this.obj = obj; 43 synchronized(obj) { 45 obj.wait(1);
|
/art/test/024-illegal-access/src/ |
H A D | CheckInstanceof.java | 21 public static void main(Object obj) { argument 22 if (obj instanceof otherpkg.Package)
|
/art/test/091-override-package-private-method/src/ |
H A D | OverridePackagePrivateMethodTest.java | 18 public void test(Object obj) { argument 19 if (obj == null) {
|
/art/test/615-checker-arm64-store-zero/src/ |
H A D | Main.java | 426 Main obj = new Main(); 427 obj.array_byte = new byte[1]; 428 obj.array_char = new char[1]; 429 obj.array_short = new short[1]; 430 obj.array_int = new int[1]; 431 obj.array_long = new long[1]; 432 obj.array_float = new float[1]; 433 obj.array_double = new double[1]; 435 obj.bar(); 436 obj [all...] |
/art/runtime/gc/accounting/ |
H A D | heap_bitmap-inl.h | 38 inline bool HeapBitmap::Test(const mirror::Object* obj) { argument 39 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); 41 return bitmap->Test(obj); 44 if (LIKELY(lo_bitmap->HasAddress(obj))) { 45 return lo_bitmap->Test(obj); 48 LOG(FATAL) << "Invalid object " << obj; 52 inline void HeapBitmap::Clear(const mirror::Object* obj) { argument 53 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); 55 bitmap->Clear(obj); 59 if (LIKELY(lo_bitmap->HasAddress(obj))) { 67 Set(const mirror::Object* obj, const LargeObjectSetVisitor& visitor) argument 83 AtomicTestAndSet(const mirror::Object* obj, const LargeObjectSetVisitor& visitor) argument [all...] |
/art/test/023-many-interfaces/src/ |
H A D | ManyInterfaces.java | 190 ManyInterfaces obj = new ManyInterfaces(); 206 testIface001(obj, iter); 211 testIface049(obj, iter); 216 testIface099(obj, iter); 221 testVirt001(obj, iter); 226 testVirt049(obj, iter); 231 testVirt099(obj, iter); 236 testInstance001(obj, iter); 241 testInstance049(obj, iter); 246 testInstance099(obj, ite 329 testVirt001(ManyInterfaces obj, int count) argument 338 testVirt049(ManyInterfaces obj, int count) argument 347 testVirt099(ManyInterfaces obj, int count) argument 356 testInstance001(Object obj, int count) argument 380 testInstance049(Object obj, int count) argument 404 testInstance099(Object obj, int count) argument [all...] |
/art/test/064-field-access/src/ |
H A D | GetNonexistent.java | 19 Object obj = Holder.mObject;
|
/art/runtime/ |
H A D | verify_object.cc | 28 void VerifyObjectImpl(ObjPtr<mirror::Object> obj) { argument 31 Runtime::Current()->GetHeap()->VerifyObjectBody(obj); 35 bool failed = !IsAligned<kObjectAlignment>(obj.Ptr()); 37 mirror::Class* c = obj->GetClass<kVerifyNone>(); 42 Runtime::Current()->GetHeap()->VerifyObjectBody(obj);
|
H A D | jni_env_ext-inl.h | 27 inline T JNIEnvExt::AddLocalReference(ObjPtr<mirror::Object> obj) { argument 28 IndirectRef ref = locals.Add(local_ref_cookie, obj); 37 << mirror::Object::PrettyTypeOf(obj) << ")\n");
|
H A D | object_callbacks.h | 29 typedef void (ObjectCallback)(mirror::Object* obj, void* arg); 36 virtual mirror::Object* IsMarked(mirror::Object* obj) = 0; 44 virtual mirror::Object* MarkObject(mirror::Object* obj) = 0; 46 virtual void MarkHeapReference(mirror::HeapReference<mirror::Object>* obj,
|
H A D | scoped_thread_state_change.cc | 33 ObjPtr<mirror::Object> obj) { 34 DCHECK_NE(obj, Runtime::Current()->GetClearedJniWeakGlobal()); 32 DCheckObjIsNotClearedJniWeakGlobal( ObjPtr<mirror::Object> obj) argument
|
/art/runtime/entrypoints/quick/ |
H A D | quick_lock_entrypoints.cc | 23 extern "C" int artLockObjectFromCode(mirror::Object* obj, Thread* self) 28 if (UNLIKELY(obj == nullptr)) { 33 obj = obj->MonitorEnter(self); // May block 34 CHECK(self->HoldsLock(obj)); 37 obj->MonitorEnter(self); // May block 44 extern "C" int artUnlockObjectFromCode(mirror::Object* obj, Thread* self) 49 if (UNLIKELY(obj == nullptr)) { 54 return obj->MonitorExit(self) ? 0 /* Success */ : -1 /* Failure */;
|
H A D | quick_cast_entrypoints.cc | 31 extern "C" size_t artInstanceOfFromCode(mirror::Object* obj, mirror::Class* ref_class) 33 DCHECK(obj != nullptr); 35 return obj->InstanceOf(ref_class) ? 1 : 0;
|
/art/runtime/gc/collector/ |
H A D | semi_space-inl.h | 29 inline mirror::Object* SemiSpace::GetForwardingAddressInFromSpace(mirror::Object* obj) const { 30 DCHECK(from_space_->HasAddress(obj)); 31 LockWord lock_word = obj->GetLockWord(false); 44 mirror::Object* obj = obj_ptr->AsMirrorPtr(); local 45 if (obj == nullptr) { 48 if (from_space_->HasAddress(obj)) { 49 mirror::Object* forward_address = GetForwardingAddressInFromSpace(obj); 52 forward_address = MarkNonForwardedObject(obj); 56 obj->SetLockWord( 62 } else if (!collect_from_space_only_ && !immune_spaces_.IsInImmuneRegion(obj)) { [all...] |
/art/test/537-checker-arraycopy/src/ |
H A D | Main.java | 60 Object[] obj = new Object[4]; 61 System.arraycopy(obj, 1, obj, 0, 1); 64 public static void arraycopy(Object obj) { argument 65 System.arraycopy(obj, 1, obj, 0, 1); 73 public static void arraycopy(Object[] obj, int pos) { argument 74 System.arraycopy(obj, pos, obj, 0, obj 83 arraycopy2(Object[] obj, int pos) argument [all...] |
/art/test/596-monitor-inflation/src/ |
H A D | Main.java | 25 Object obj = new Object(); 26 synchronized(obj) { 28 all.put(obj, obj.hashCode()); 57 for (Object obj: all.keySet()) { 59 if (obj.hashCode() != all.get(obj)) { 64 for (Object obj: all.keySet()) { 66 synchronized(obj) { 67 if (obj [all...] |
/art/test/530-checker-lse/src/ |
H A D | Main.java | 127 static int test2(TestClass obj) { argument 128 obj.j = 1; 129 obj.j = 1; 130 return obj.j; 156 static int test3(TestClass obj) { argument 158 TestClass obj2 = new TestClass(); // Cannot alias with obj or obj1 which pre-exist. 159 obj.next = obj2; // Make obj2 a non-singleton. 160 // All stores below need to stay since obj/obj1/obj2 are not singletons. 161 obj.i = 1; 163 // Following stores won't kill values of obj 183 test4(TestClass obj, boolean b) argument 205 test5(TestClass obj, boolean b) argument 248 test7(TestClass obj) argument 288 test9(TestClass obj) argument 310 test10(TestClass obj) argument 326 test11(TestClass obj) argument 457 test18(TestClass obj) argument [all...] |
/art/runtime/openjdkjvmti/ |
H A D | object_tagging.cc | 45 bool ObjectTagTable::Set(art::mirror::Object* obj, jlong new_tag) { argument 48 return Remove(obj, &tmp); 50 return JvmtiWeakTable<jlong>::Set(obj, new_tag); 52 bool ObjectTagTable::SetLocked(art::mirror::Object* obj, jlong new_tag) { argument 55 return RemoveLocked(obj, &tmp); 57 return JvmtiWeakTable<jlong>::SetLocked(obj, new_tag);
|
/art/test/ti-agent/ |
H A D | agent_common.cc | 28 JNIEnv* env, jclass, jobject obj, jlong tag) { 29 jvmtiError ret = jvmti_env->SetTag(obj, tag); 33 extern "C" JNIEXPORT jlong JNICALL Java_art_Main_getTag(JNIEnv* env, jclass, jobject obj) { argument 35 jvmtiError ret = jvmti_env->GetTag(obj, &tag); 27 Java_art_Main_setTag( JNIEnv* env, jclass, jobject obj, jlong tag) argument
|
/art/benchmark/jobject-benchmark/ |
H A D | jobject_benchmark.cc | 29 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(jobj); local 30 CHECK(obj != nullptr); 32 jobject ref = soa.Env()->AddLocalReference<jobject>(obj); 40 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(jobj); local 41 CHECK(obj != nullptr); 42 jobject ref = soa.Env()->AddLocalReference<jobject>(obj); 44 CHECK_EQ(soa.Decode<mirror::Object>(ref), obj); 52 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(jobj); local 53 CHECK(obj != nullptr); 55 jobject ref = soa.Vm()->AddGlobalRef(soa.Self(), obj); 63 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(jobj); local 75 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(jobj); local 86 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(jobj); local [all...] |
/art/test/469-condition-materialization/src/ |
H A D | Main.java | 22 private static Object obj; field in class:Main 36 obj = new Object();
|
/art/test/521-checker-array-set-null/src/ |
H A D | Main.java | 32 public static void testWithUnknown(Object[] o, Object obj) { argument 33 o[0] = obj;
|