Home
last modified time | relevance | path

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

/art/runtime/
Dtransaction_test.cc101 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() local
102 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F()
103 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
108 EXPECT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
118 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() local
119 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F()
120 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
123 h_obj->MonitorEnter(soa.Self()); in TEST_F()
124 LockWord old_lock_word = h_obj->GetLockWord(false); in TEST_F()
129 h_obj->MonitorExit(soa.Self()); in TEST_F()
[all …]
Dmonitor.cc708 Handle<mirror::Object> h_obj(hs.NewHandle(obj)); in MonitorEnter() local
710 LockWord lock_word = h_obj->GetLockWord(true); in MonitorEnter()
714 if (h_obj->CasLockWordWeakSequentiallyConsistent(lock_word, thin_locked)) { in MonitorEnter()
716 return h_obj.Get(); // Success! in MonitorEnter()
729 h_obj->SetLockWord(thin_locked, true); in MonitorEnter()
730 return h_obj.Get(); // Success! in MonitorEnter()
733 if (h_obj->CasLockWordWeakSequentiallyConsistent(lock_word, thin_locked)) { in MonitorEnter()
734 return h_obj.Get(); // Success! in MonitorEnter()
740 InflateThinLocked(self, h_obj, lock_word, 0); in MonitorEnter()
754 InflateThinLocked(self, h_obj, lock_word, 0); in MonitorEnter()
[all …]
Dthread.cc1400 Handle<mirror::Object> h_obj(hs.NewHandle(lock)); in Destroy() local
1401 ObjectLock<mirror::Object> locker(self, h_obj); in Destroy()
Ddebugger.cc3930 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper(&receiver)); in PrepareInvokeMethod() local
/art/compiler/
Dimage_writer.cc807 Handle<mirror::Object> h_obj(hs.NewHandle(obj)); in WalkFieldsInOrder() local
810 CalculateObjectBinSlots(h_obj.Get()); in WalkFieldsInOrder()
811 WalkInstanceFields(h_obj.Get(), klass.Get()); in WalkFieldsInOrder()
813 if (h_obj->IsClass()) { in WalkFieldsInOrder()
817 mirror::Object* value = h_obj->GetFieldObject<mirror::Object>(field_offset); in WalkFieldsInOrder()
825 auto* as_klass = h_obj->AsClass(); in WalkFieldsInOrder()
856 } else if (h_obj->IsObjectArray()) { in WalkFieldsInOrder()
858 int32_t length = h_obj->AsObjectArray<mirror::Object>()->GetLength(); in WalkFieldsInOrder()
860 mirror::ObjectArray<mirror::Object>* obj_array = h_obj->AsObjectArray<mirror::Object>(); in WalkFieldsInOrder()
/art/runtime/interpreter/
Dunstarted_runtime.cc205 Handle<mirror::Object> h_obj(hs.NewHandle(klass->AllocObject(self))); in UnstartedClassNewInstance() local
206 CHECK(h_obj.Get() != nullptr); // We don't expect OOM at compile-time. in UnstartedClassNewInstance()
207 EnterInterpreterFromInvoke(self, cons, h_obj.Get(), nullptr, nullptr); in UnstartedClassNewInstance()
209 result->SetL(h_obj.Get()); in UnstartedClassNewInstance()
722 Handle<mirror::Object> h_obj(hs.NewHandle(h_class->AllocObject(self))); in UnstartedSecurityGetSecurityPropertiesReader() local
723 if (h_obj.Get() == nullptr) { in UnstartedSecurityGetSecurityPropertiesReader()
738 EnterInterpreterFromInvoke(self, constructor, h_obj.Get(), args, nullptr); in UnstartedSecurityGetSecurityPropertiesReader()
745 result->SetL(h_obj.Get()); in UnstartedSecurityGetSecurityPropertiesReader()
Dinterpreter_common.cc287 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper(&obj)); in DoFieldPut() local
/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc421 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper(&obj)); in artSet8InstanceFromCode() local
460 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper(&obj)); in artSet16InstanceFromCode() local
494 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper(&obj)); in artSet32InstanceFromCode() local