/art/runtime/gc/ |
D | reference_queue_test.cc | 40 auto ref1(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() 42 auto ref2(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() 74 auto ref1(hs.NewHandle(weak_ref_class->AllocObject(self)->AsReference())); in TEST_F() 76 auto ref2(hs.NewHandle(finalizer_ref_class->AllocObject(self)->AsReference())); in TEST_F()
|
D | heap-inl.h | 120 return AllocObject<kInstrumented>(self, klass, byte_count, pre_fence_visitor); in AllocObjectWithAllocator()
|
/art/runtime/ |
D | indirect_reference_table_test.cc | 57 mirror::Object* obj0 = c->AllocObject(soa.Self()); in TEST_F() 59 mirror::Object* obj1 = c->AllocObject(soa.Self()); in TEST_F() 61 mirror::Object* obj2 = c->AllocObject(soa.Self()); in TEST_F() 63 mirror::Object* obj3 = c->AllocObject(soa.Self()); in TEST_F()
|
D | transaction_test.cc | 101 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 118 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 235 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 283 Handle<mirror::Object> h_instance(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 337 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 454 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
|
D | class_linker-inl.h | 158 inline mirror::Object* ClassLinker::AllocObject(Thread* self) { in AllocObject() function
|
D | jni_internal_test.cc | 617 TEST_F(JniInternalTest, AllocObject) { in TEST_F() argument 620 jobject o = env_->AllocObject(c); in TEST_F() 858 jstring s = reinterpret_cast<jstring>(env_->AllocObject(c)); in TEST_F() 1687 jobject o = env_->AllocObject(c); in TEST_F() 1716 jobject o = env_->AllocObject(c); in TEST_F() 1972 jthrowable exception = reinterpret_cast<jthrowable>(env_->AllocObject(exception_class)); in TEST_F() 2062 jobject object = env_->AllocObject(object_class); in TEST_F()
|
D | monitor_test.cc | 96 MutableHandle<mirror::Object> h = (*hsp)->NewHandle<mirror::Object>(c->AllocObject(self)); in FillHeap()
|
D | jni_internal.cc | 587 static jobject AllocObject(JNIEnv* env, jclass java_class) { in AllocObject() function in art::JNI 600 return soa.AddLocalReference<jobject>(c->AllocObject(soa.Self())); in AllocObject() 626 mirror::Object* result = c->AllocObject(soa.Self()); in NewObjectV() 651 mirror::Object* result = c->AllocObject(soa.Self()); in NewObjectA() 2514 JNI::AllocObject,
|
D | reflection_test.cc | 122 *receiver = c->AllocObject(self); in ReflectionTestMakeExecutable()
|
D | class_linker.cc | 1470 GetClassRoot(kJavaLangDexCache)->AllocObject(self)))); in AllocDexCache() 1511 heap->AllocObject<true>(self, java_lang_Class, class_size, visitor) : in AllocClass() 5838 cookie_field->GetDeclaringClass()->AllocObject(self)); in CreatePathClassLoader() 5842 Handle<mirror::Object> h_element = hs2.NewHandle(h_dex_element_class->AllocObject(self)); in CreatePathClassLoader() 5853 dex_elements_field->GetDeclaringClass()->AllocObject(self)); in CreatePathClassLoader() 5862 h_path_class_class->AllocObject(self)); in CreatePathClassLoader() 5877 soa.Decode<mirror::Class*>(WellKnownClasses::java_lang_BootClassLoader)->AllocObject(self); in CreatePathClassLoader()
|
D | class_linker.h | 346 mirror::Object* AllocObject(Thread* self) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
/art/runtime/mirror/ |
D | method.cc | 56 auto* ret = down_cast<Method*>(StaticClass()->AllocObject(self)); in CreateFromArtMethod() 97 auto* ret = down_cast<Constructor*>(StaticClass()->AllocObject(self)); in CreateFromArtMethod()
|
D | stack_trace_element.cc | 46 down_cast<StackTraceElement*>(GetStackTraceElement()->AllocObject(self)); in Alloc()
|
D | field-inl.h | 52 auto ret = hs.NewHandle(static_cast<Field*>(StaticClass()->AllocObject(self))); in CreateFromArtField()
|
D | object.cc | 132 copy = heap->AllocObject<true>(self, GetClass(), num_bytes, visitor); in Clone()
|
D | object_test.cc | 553 Handle<Object> x(hs.NewHandle(X->AllocObject(soa.Self()))); in TEST_F() 554 Handle<Object> y(hs.NewHandle(Y->AllocObject(soa.Self()))); in TEST_F()
|
D | class-inl.h | 611 inline Object* Class::AllocObject(Thread* self) { in AllocObject() function
|
D | class.cc | 868 heap->AllocObject<true>(self, java_lang_Class_.Read(), new_length, visitor) : in CopyOf()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 589 jstring s1 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 591 jstring s2 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 593 jstring s3 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 595 jstring s4 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 614 jstring s5 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 617 jstring s6 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject()
|
/art/runtime/native/ |
D | java_lang_reflect_Constructor.cc | 81 movable ? c->AllocObject(soa.Self()) : c->AllocNonMovableObject(soa.Self()); in Constructor_newInstance()
|
D | java_lang_Class.cc | 472 auto receiver = hs.NewHandle(klass->AllocObject(soa.Self())); in Class_newInstance()
|
/art/runtime/entrypoints/quick/ |
D | quick_entrypoints_list.h | 26 V(AllocObject, void*, uint32_t, ArtMethod*) \
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 134 env->AllocObject(WellKnownClasses::java_lang_StackOverflowError)); in ThrowStackOverflowError()
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 205 Handle<mirror::Object> h_obj(hs.NewHandle(klass->AllocObject(self))); in UnstartedClassNewInstance() 439 h_real_to_string_class->AllocObject(self))); in UnstartedThreadLocalGet() 722 Handle<mirror::Object> h_obj(hs.NewHandle(h_class->AllocObject(self))); in UnstartedSecurityGetSecurityPropertiesReader()
|
/art/runtime/arch/ |
D | stub_test.cc | 1156 Handle<mirror::Object> obj_obj(hs.NewHandle(c->AllocObject(soa.Self()))); in TEST_F() 1260 TEST_F(StubTest, AllocObject) { in TEST_F() argument 1364 Handle<mirror::Object> h = hsp->NewHandle(c->AllocObject(soa.Self())); in TEST_F() 2061 jobject o = env->AllocObject(jc); in TestFields()
|