Home
last modified time | relevance | path

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

/art/runtime/
Dtransaction_test.cc99 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() local
100 ASSERT_TRUE(h_obj != nullptr); in TEST_F()
101 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
104 EXPECT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
114 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() local
115 ASSERT_TRUE(h_obj != nullptr); in TEST_F()
116 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F()
119 h_obj->MonitorEnter(soa.Self()); in TEST_F()
120 LockWord old_lock_word = h_obj->GetLockWord(false); in TEST_F()
124 h_obj->MonitorExit(soa.Self()); in TEST_F()
[all …]
Dmonitor.cc1032 Handle<mirror::Object> h_obj(hs.NewHandle(obj)); in MonitorEnter() local
1037 LockWord lock_word = h_obj->GetLockWord(false); in MonitorEnter()
1042 if (h_obj->CasLockWordWeakAcquire(lock_word, thin_locked)) { in MonitorEnter()
1043 AtraceMonitorLock(self, h_obj.Get(), false /* is_wait */); in MonitorEnter()
1044 return h_obj.Get(); // Success! in MonitorEnter()
1061 h_obj->SetLockWord(thin_locked, false /* volatile */); in MonitorEnter()
1062 AtraceMonitorLock(self, h_obj.Get(), false /* is_wait */); in MonitorEnter()
1063 return h_obj.Get(); // Success! in MonitorEnter()
1066 if (h_obj->CasLockWordWeakRelaxed(lock_word, thin_locked)) { in MonitorEnter()
1067 AtraceMonitorLock(self, h_obj.Get(), false /* is_wait */); in MonitorEnter()
[all …]
Dmethod_handles.cc234 Handle<mirror::Object> h_obj(hs.NewHandle(src_value.GetL())); in ConvertJValueCommon() local
235 if (UNLIKELY(!h_obj.IsNull() && !to->IsAssignableFrom(h_obj->GetClass()))) { in ConvertJValueCommon()
236 ThrowClassCastException(h_to.Get(), h_obj->GetClass()); in ConvertJValueCommon()
239 value->SetL(h_obj.Get()); in ConvertJValueCommon()
Dcommon_dex_operations.h204 HandleWrapperObjPtr<mirror::Object> h_obj(hs.NewHandleWrapper(&obj)); in DoFieldPutCommon()
Dthread.cc2229 Handle<mirror::Object> h_obj(hs.NewHandle(lock)); in Destroy() local
2230 ObjectLock<mirror::Object> locker(self, h_obj); in Destroy()
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc162 HandleWrapperObjPtr<mirror::Object> h_obj(hs.NewHandleWrapper(&o)); in JniMethodEndWithReferenceHandleResult() local
163 CheckReferenceResult(h_obj, self); in JniMethodEndWithReferenceHandleResult()
Dquick_field_entrypoints.cc134 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper( \
165 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper( \
/art/runtime/interpreter/
Dunstarted_runtime.cc302 Handle<mirror::Object> h_obj(hs.NewHandle(klass->AllocObject(self))); in UnstartedClassNewInstance() local
303 CHECK(h_obj != nullptr); // We don't expect OOM at compile-time. in UnstartedClassNewInstance()
304 EnterInterpreterFromInvoke(self, cons, h_obj.Get(), nullptr, nullptr); in UnstartedClassNewInstance()
306 result->SetL(h_obj.Get()); in UnstartedClassNewInstance()
629 Handle<mirror::Object> h_obj(hs.NewHandle(h_class->AllocObject(self))); in GetResourceAsStream() local
630 if (h_obj == nullptr) { in GetResourceAsStream()
644 EnterInterpreterFromInvoke(self, constructor, h_obj.Get(), args, nullptr); in GetResourceAsStream()
651 result->SetL(h_obj.Get()); in GetResourceAsStream()
1046 Handle<mirror::Object> h_obj(hs.NewHandle(h_class->AllocObject(self))); in CreateInstanceOf() local
1047 if (h_obj != nullptr) { in CreateInstanceOf()
[all …]