Home
last modified time | relevance | path

Searched refs:AllocObject (Results 1 – 25 of 43) sorted by relevance

12

/art/runtime/gc/
Dreference_queue_test.cc48 auto ref1(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F()
50 auto ref2(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F()
87 auto ref1(hs.NewHandle(weak_ref_class->AllocObject(self)->AsReference())); in TEST_F()
89 auto ref2(hs.NewHandle(finalizer_ref_class->AllocObject(self)->AsReference())); in TEST_F()
/art/runtime/mirror/
Dmethod.cc31 ObjPtr<Method> ret = ObjPtr<Method>::DownCast(GetClassRoot<Method>()->AllocObject(self)); in CreateFromArtMethod()
47 ObjPtr<Constructor>::DownCast(GetClassRoot<Constructor>()->AllocObject(self)); in CreateFromArtMethod()
Dmethod_handles_lookup.cc37 GetClassRoot<MethodHandlesLookup>()->AllocObject(self)); in Create()
Dstack_trace_element.cc36 ObjPtr<StackTraceElement>::DownCast(GetClassRoot<StackTraceElement>()->AllocObject(self)); in Alloc()
Dclass-alloc-inl.h77 inline ObjPtr<Object> Class::AllocObject(Thread* self) { in AllocObject() function
Dmethod_handle_impl.cc52 GetClassRoot<MethodHandleImpl>()->AllocObject(self)))); in Create()
Dfield.cc77 auto ret = hs.NewHandle(ObjPtr<Field>::DownCast(GetClassRoot<Field>()->AllocObject(self))); in CreateFromArtField()
Dclass_ext.cc118 return ObjPtr<ClassExt>::DownCast(GetClassRoot<ClassExt>()->AllocObject(self)); in Alloc()
Demulated_stack_frame.cc187 ObjPtr<EmulatedStackFrame>::DownCast(GetClassRoot<EmulatedStackFrame>()->AllocObject(self)))); in CreateFromShadowFrameAndArgs()
Dobject.cc166 ? heap->AllocObject(self, h_this->GetClass(), num_bytes, visitor) in Clone()
/art/runtime/jni/
Dlocal_reference_table_test.cc74 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicTest()
76 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicTest()
78 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicTest()
80 Handle<mirror::Object> obj3 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicTest()
309 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicHolesTest()
311 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicHolesTest()
313 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicHolesTest()
315 Handle<mirror::Object> obj3 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicHolesTest()
317 Handle<mirror::Object> obj4 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicHolesTest()
520 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicResizeTest()
[all …]
Djni_internal_test.cc676 TEST_F(JniInternalTest, AllocObject) { in TEST_F() argument
679 jobject o = env_->AllocObject(c); in TEST_F()
1005 jstring s = reinterpret_cast<jstring>(env_->AllocObject(c)); in TEST_F()
1993 jobject o = env_->AllocObject(c); \
2064 jobject o = env_->AllocObject(c); \
2332 jthrowable exception = reinterpret_cast<jthrowable>(env_->AllocObject(exception_class)); in TEST_F()
2440 jobject object = env_->AllocObject(object_class); in TEST_F()
2555 jobject object = env_->AllocObject(object_class); in TEST_F()
/art/runtime/
Dindirect_reference_table_test.cc71 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F()
73 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F()
75 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F()
77 Handle<mirror::Object> obj3 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F()
Dhandle_scope_test.cc107 inner.NewHandle(c->AllocObject(soa.Self())); in TEST_F()
112 ObjPtr<mirror::Object> o = c->AllocObject(soa.Self()); in TEST_F()
Dart_method-alloc-inl.h55 MutableHandle<mirror::Object> new_object = hs.NewHandle(GetDeclaringClass()->AllocObject(self));
Dtransaction_test.cc104 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
119 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
233 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
279 Handle<mirror::Object> h_instance(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
333 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
508 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
Dclass_table_test.cc87 Handle<mirror::Object> obj_X = hs.NewHandle(h_X->AllocObject(soa.Self())); in TEST_F()
Dreference_table_test.cc66 h_ref_class->AllocObject(self))); in CreateWeakReference()
/art/test/004-JniTest/
Djni_test.cc646 jstring s1 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject()
648 jstring s2 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject()
650 jstring s3 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject()
652 jstring s4 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject()
671 jstring s5 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject()
674 jstring s6 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject()
/art/runtime/interpreter/
Dunstarted_runtime_test.h95 hs.NewHandle(boot_cp_class->AllocObject(self)->AsClassLoader()); in GetBootClassLoader()
/art/runtime/native/
Djava_lang_reflect_Constructor.cc111 movable ? c->AllocObject(soa.Self()) : c->AllocNonMovableObject(soa.Self()); in Constructor_newInstance0()
/art/test/931-agent-thread/
Dagent_thread.cc104 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in Java_art_Test931_testAgentThread()
/art/test/1919-vminit-thread-start-timing/
Dvminit.cc89 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in CreateAgentThread()
/art/runtime/arch/
Dstub_test.cc707 Handle<mirror::Object> obj(hs.NewHandle(klass_obj->AllocObject(soa.Self()))); in TEST_F()
710 Handle<mirror::Object> array_list(hs.NewHandle(klass_array_list->AllocObject(soa.Self()))); in TEST_F()
783 TEST_F(StubTest, AllocObject) { in TEST_F() argument
877 Handle<mirror::Object> h = hsp->NewHandle(c->AllocObject(soa.Self())); in TEST_F()
1555 jobject o = env->AllocObject(jc); in TestFields()
1937 Handle<mirror::Object> obj(hs.NewHandle(c->AllocObject(soa.Self()))); in TEST_F()
/art/tools/jvmti-agents/simple-force-redefine/
Dforceredefine.cc242 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in CbVmInit()

12