/art/runtime/gc/ |
D | reference_queue_test.cc | 43 auto ref1(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() 45 auto ref2(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() 82 auto ref1(hs.NewHandle(weak_ref_class->AllocObject(self)->AsReference())); in TEST_F() 84 auto ref2(hs.NewHandle(finalizer_ref_class->AllocObject(self)->AsReference())); in TEST_F()
|
D | heap-inl.h | 160 return AllocObject</*kInstrumented=*/true>(self, in AllocObjectWithAllocator()
|
/art/runtime/mirror/ |
D | method.cc | 31 ObjPtr<Method> ret = ObjPtr<Method>::DownCast(GetClassRoot<Method>()->AllocObject(self)); in CreateFromArtMethod() 51 ObjPtr<Constructor>::DownCast(GetClassRoot<Constructor>()->AllocObject(self)); in CreateFromArtMethod()
|
D | stack_trace_element.cc | 36 ObjPtr<StackTraceElement>::DownCast(GetClassRoot<StackTraceElement>()->AllocObject(self)); in Alloc()
|
D | class-alloc-inl.h | 77 inline ObjPtr<Object> Class::AllocObject(Thread* self) { in AllocObject() function
|
D | method_handles_lookup.cc | 38 GetClassRoot<MethodHandlesLookup>()->AllocObject(self)); in Create()
|
D | method_handle_impl.cc | 52 GetClassRoot<MethodHandleImpl>()->AllocObject(self)))); in Create()
|
D | field-inl.h | 67 auto ret = hs.NewHandle(ObjPtr<Field>::DownCast(GetClassRoot<Field>()->AllocObject(self))); in CreateFromArtField()
|
D | class_ext.cc | 118 return ObjPtr<ClassExt>::DownCast(GetClassRoot<ClassExt>()->AllocObject(self)); in Alloc()
|
D | method_type.cc | 44 hs.NewHandle(ObjPtr<MethodType>::DownCast(GetClassRoot<MethodType>()->AllocObject(self)))); in Create()
|
D | object.cc | 162 ? heap->AllocObject(self, h_this->GetClass(), num_bytes, visitor) in Clone()
|
D | emulated_stack_frame.cc | 198 ObjPtr<EmulatedStackFrame>::DownCast(GetClassRoot<EmulatedStackFrame>()->AllocObject(self)))); in CreateFromShadowFrameAndArgs()
|
D | var_handle_test.cc | 49 ObjPtr<FieldVarHandle>::DownCast(GetClassRoot<FieldVarHandle>()->AllocObject(self))); in CreateFieldVarHandle() 73 GetClassRoot<ArrayElementVarHandle>()->AllocObject(self))); in CreateArrayElementVarHandle() 92 GetClassRoot<ByteArrayViewVarHandle>()->AllocObject(self))); in CreateByteArrayViewVarHandle() 113 GetClassRoot<ByteArrayViewVarHandle>()->AllocObject(self))); in CreateByteBufferViewVarHandle()
|
/art/runtime/ |
D | indirect_reference_table_test.cc | 68 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 70 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 72 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 74 Handle<mirror::Object> obj3 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 287 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 289 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 291 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 293 Handle<mirror::Object> obj3 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 295 Handle<mirror::Object> obj4 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 497 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F()
|
D | handle_scope_test.cc | 100 inner.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 106 ObjPtr<mirror::Object> o = c->AllocObject(soa.Self()); in TEST_F()
|
D | transaction_test.cc | 105 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 120 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 234 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 280 Handle<mirror::Object> h_instance(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 334 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 457 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
|
D | class_table_test.cc | 82 Handle<mirror::Object> obj_X = hs.NewHandle(h_X->AllocObject(soa.Self())); in TEST_F()
|
D | reference_table_test.cc | 61 h_ref_class->AllocObject(self))); in CreateWeakReference()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 617 jstring s1 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 619 jstring s2 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 621 jstring s3 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 623 jstring s4 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 642 jstring s5 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 645 jstring s6 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject()
|
/art/runtime/native/ |
D | java_lang_reflect_Constructor.cc | 112 movable ? c->AllocObject(soa.Self()) : c->AllocNonMovableObject(soa.Self()); in Constructor_newInstance0()
|
/art/test/931-agent-thread/ |
D | agent_thread.cc | 104 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in Java_art_Test931_testAgentThread()
|
/art/test/1919-vminit-thread-start-timing/ |
D | vminit.cc | 89 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in CreateAgentThread()
|
/art/runtime/arch/ |
D | stub_test.cc | 707 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() 1556 jobject o = env->AllocObject(jc); in TestFields() 1936 Handle<mirror::Object> obj(hs.NewHandle(c->AllocObject(soa.Self()))); in TEST_F()
|
/art/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 244 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in CbVmInit()
|
/art/runtime/jni/ |
D | jni_internal_test.cc | 675 TEST_F(JniInternalTest, AllocObject) { in TEST_F() argument 678 jobject o = env_->AllocObject(c); in TEST_F() 1004 jstring s = reinterpret_cast<jstring>(env_->AllocObject(c)); in TEST_F() 1861 jobject o = env_->AllocObject(c); \ 1932 jobject o = env_->AllocObject(c); \ 2215 jthrowable exception = reinterpret_cast<jthrowable>(env_->AllocObject(exception_class)); in TEST_F() 2304 jobject object = env_->AllocObject(object_class); in TEST_F() 2419 jobject object = env_->AllocObject(object_class); in TEST_F()
|