Home
last modified time | relevance | path

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

/art/runtime/
Dtransaction_test.cc105 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() local
106 ASSERT_TRUE(h_obj != nullptr); in TEST_F()
107 ASSERT_OBJ_PTR_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
110 EXPECT_OBJ_PTR_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
120 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() local
121 ASSERT_TRUE(h_obj != nullptr); in TEST_F()
122 ASSERT_OBJ_PTR_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
125 h_obj->MonitorEnter(soa.Self()); in TEST_F()
126 LockWord old_lock_word = h_obj->GetLockWord(false); in TEST_F()
130 h_obj->MonitorExit(soa.Self()); in TEST_F()
[all …]
Dmonitor.cc1111 Handle<mirror::Object> h_obj(hs.NewHandle(obj)); in MonitorEnter() local
1116 LockWord lock_word = h_obj->GetLockWord(false); in MonitorEnter()
1121 if (h_obj->CasLockWord(lock_word, thin_locked, CASMode::kWeak, std::memory_order_acquire)) { in MonitorEnter()
1122 AtraceMonitorLock(self, h_obj.Get(), /* is_wait= */ false); in MonitorEnter()
1123 return h_obj.Get(); // Success! in MonitorEnter()
1140 h_obj->SetLockWord(thin_locked, /* as_volatile= */ false); in MonitorEnter()
1141 AtraceMonitorLock(self, h_obj.Get(), /* is_wait= */ false); in MonitorEnter()
1142 return h_obj.Get(); // Success! in MonitorEnter()
1145 if (h_obj->CasLockWord(lock_word, in MonitorEnter()
1149 AtraceMonitorLock(self, h_obj.Get(), /* is_wait= */ false); in MonitorEnter()
[all …]
Dmethod_handles.cc237 Handle<mirror::Object> h_obj(hs.NewHandle(src_value.GetL())); in ConvertJValueCommon() local
238 if (UNLIKELY(!h_obj.IsNull() && !to->IsAssignableFrom(h_obj->GetClass()))) { in ConvertJValueCommon()
239 ThrowClassCastException(h_to.Get(), h_obj->GetClass()); in ConvertJValueCommon()
242 value->SetL(h_obj.Get()); in ConvertJValueCommon()
Dcommon_dex_operations.h221 HandleWrapperObjPtr<mirror::Object> h_obj(hs.NewHandleWrapper(&obj)); in DoFieldPutCommon()
Dthread.cc2446 Handle<mirror::Object> h_obj(hs.NewHandle(lock)); in Destroy() local
2447 ObjectLock<mirror::Object> locker(self, h_obj); in Destroy()
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc195 HandleWrapperObjPtr<mirror::Object> h_obj(hs.NewHandleWrapper(&o)); in JniMethodEndWithReferenceHandleResult() local
196 CheckReferenceResult(h_obj, self); in JniMethodEndWithReferenceHandleResult()
Dquick_field_entrypoints.cc124 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper( \
162 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper( \
/art/runtime/interpreter/
Dunstarted_runtime.cc318 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(self))); in UnstartedClassNewInstance() local
319 CHECK(h_obj != nullptr); // We don't expect OOM at compile-time. in UnstartedClassNewInstance()
320 EnterInterpreterFromInvoke(self, cons, h_obj.Get(), nullptr, nullptr); in UnstartedClassNewInstance()
322 result->SetL(h_obj.Get()); in UnstartedClassNewInstance()
591 Handle<mirror::Object> h_obj(hs.NewHandle(h_class->AllocObject(self))); in GetResourceAsStream() local
592 if (h_obj == nullptr) { in GetResourceAsStream()
606 EnterInterpreterFromInvoke(self, constructor, h_obj.Get(), args, nullptr); in GetResourceAsStream()
613 result->SetL(h_obj.Get()); in GetResourceAsStream()
1034 Handle<mirror::Object> h_obj(hs.NewHandle(h_class->AllocObject(self))); in CreateInstanceOf() local
1035 if (h_obj != nullptr) { in CreateInstanceOf()
[all …]