Home
last modified time | relevance | path

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

/art/runtime/
Dtransaction_test.cc104 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() local
105 ASSERT_TRUE(h_obj != nullptr); in TEST_F()
106 ASSERT_OBJ_PTR_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
109 EXPECT_OBJ_PTR_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
119 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() local
120 ASSERT_TRUE(h_obj != nullptr); in TEST_F()
121 ASSERT_OBJ_PTR_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
124 h_obj->MonitorEnter(soa.Self()); in TEST_F()
125 LockWord old_lock_word = h_obj->GetLockWord(false); in TEST_F()
129 h_obj->MonitorExit(soa.Self()); in TEST_F()
[all …]
Dmonitor.cc1118 Handle<mirror::Object> h_obj(hs.NewHandle(obj)); in MonitorEnter() local
1123 LockWord lock_word = h_obj->GetLockWord(false); in MonitorEnter()
1128 if (h_obj->CasLockWord(lock_word, thin_locked, CASMode::kWeak, std::memory_order_acquire)) { in MonitorEnter()
1129 AtraceMonitorLock(self, h_obj.Get(), /* is_wait= */ false); in MonitorEnter()
1130 return h_obj.Get(); // Success! in MonitorEnter()
1147 h_obj->SetLockWord(thin_locked, /* as_volatile= */ false); in MonitorEnter()
1148 AtraceMonitorLock(self, h_obj.Get(), /* is_wait= */ false); in MonitorEnter()
1149 return h_obj.Get(); // Success! in MonitorEnter()
1152 if (h_obj->CasLockWord(lock_word, in MonitorEnter()
1156 AtraceMonitorLock(self, h_obj.Get(), /* is_wait= */ false); in MonitorEnter()
[all …]
Dmethod_handles.cc241 Handle<mirror::Object> h_obj(hs.NewHandle(src_value.GetL())); in ConvertJValueCommon() local
242 if (UNLIKELY(!h_obj.IsNull() && !to->IsAssignableFrom(h_obj->GetClass()))) { in ConvertJValueCommon()
243 ThrowClassCastException(h_to.Get(), h_obj->GetClass()); in ConvertJValueCommon()
246 value->SetL(h_obj.Get()); in ConvertJValueCommon()
Dcommon_dex_operations.h247 HandleWrapperObjPtr<mirror::Object> h_obj(hs.NewHandleWrapper(&obj)); in DoFieldPutCommon()
Dthread.cc2635 Handle<mirror::Object> h_obj(hs.NewHandle(lock)); in Destroy() local
2636 ObjectLock<mirror::Object> locker(self, h_obj); in Destroy()
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc141 HandleWrapperObjPtr<mirror::Object> h_obj(hs.NewHandleWrapper(&o)); in JniDecodeReferenceResult() local
142 CheckReferenceResult(h_obj, self); in JniDecodeReferenceResult()
Dquick_field_entrypoints.cc165 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper( \
200 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper( \
/art/runtime/interpreter/
Dunstarted_runtime.cc331 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(self))); in UnstartedClassNewInstance() local
332 CHECK(h_obj != nullptr); // We don't expect OOM at compile-time. in UnstartedClassNewInstance()
333 EnterInterpreterFromInvoke(self, cons, h_obj.Get(), nullptr, nullptr); in UnstartedClassNewInstance()
335 result->SetL(h_obj.Get()); in UnstartedClassNewInstance()
640 Handle<mirror::Object> h_obj(hs.NewHandle(h_class->AllocObject(self))); in GetResourceAsStream() local
641 if (h_obj == nullptr) { in GetResourceAsStream()
655 EnterInterpreterFromInvoke(self, constructor, h_obj.Get(), args, nullptr); in GetResourceAsStream()
662 result->SetL(h_obj.Get()); in GetResourceAsStream()
1087 Handle<mirror::Object> h_obj(hs.NewHandle(h_class->AllocObject(self))); in CreateInstanceOf() local
1088 if (h_obj != nullptr) { in CreateInstanceOf()
[all …]