Home
last modified time | relevance | path

Searched refs:h_obj (Results 1 – 7 of 7) sorted by relevance

/art/runtime/
Dtransaction_test.cc38 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() local
39 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F()
40 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
45 EXPECT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
54 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() local
55 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F()
56 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
59 h_obj->MonitorEnter(soa.Self()); in TEST_F()
60 uint32_t old_lock_word = h_obj->GetLockWord(false).GetValue(); in TEST_F()
65 h_obj->MonitorExit(soa.Self()); in TEST_F()
[all …]
Dmonitor.cc726 Handle<mirror::Object> h_obj(hs.NewHandle(obj)); in MonitorEnter() local
728 LockWord lock_word = h_obj->GetLockWord(true); in MonitorEnter()
732 if (h_obj->CasLockWordWeakSequentiallyConsistent(lock_word, thin_locked)) { in MonitorEnter()
734 return h_obj.Get(); // Success! in MonitorEnter()
745 h_obj->SetLockWord(thin_locked, true); in MonitorEnter()
746 return h_obj.Get(); // Success! in MonitorEnter()
749 InflateThinLocked(self, h_obj, lock_word, 0); in MonitorEnter()
763 InflateThinLocked(self, h_obj, lock_word, 0); in MonitorEnter()
771 return h_obj.Get(); // Success! in MonitorEnter()
775 Inflate(self, nullptr, h_obj.Get(), lock_word.GetHashCode()); in MonitorEnter()
[all …]
Dthread.cc1196 Handle<mirror::Object> h_obj(hs.NewHandle(lock)); in Destroy() local
1197 ObjectLock<mirror::Object> locker(self, h_obj); in Destroy()
Ddebugger.cc3671 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper(&receiver)); in InvokeMethod() local
/art/compiler/
Dimage_writer.cc838 Handle<mirror::Object> h_obj(hs.NewHandle(obj)); in WalkFieldsInOrder() local
841 CalculateObjectBinSlots(h_obj.Get()); in WalkFieldsInOrder()
842 WalkInstanceFields(h_obj.Get(), klass.Get()); in WalkFieldsInOrder()
844 if (h_obj->IsClass()) { in WalkFieldsInOrder()
848 mirror::Object* value = h_obj->GetFieldObject<mirror::Object>(field_offset); in WalkFieldsInOrder()
855 } else if (h_obj->IsObjectArray()) { in WalkFieldsInOrder()
857 int32_t length = h_obj->AsObjectArray<mirror::Object>()->GetLength(); in WalkFieldsInOrder()
859 mirror::ObjectArray<mirror::Object>* obj_array = h_obj->AsObjectArray<mirror::Object>(); in WalkFieldsInOrder()
/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc231 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper(&obj)); in artSet32InstanceFromCode() local
/art/runtime/interpreter/
Dinterpreter_common.cc267 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper(&obj)); in DoFieldPut() local