/art/runtime/gc/ |
H A D | reference_queue_test.cc | 40 auto ref1(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); 42 auto ref2(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); 74 auto ref1(hs.NewHandle(weak_ref_class->AllocObject(self)->AsReference())); 76 auto ref2(hs.NewHandle(finalizer_ref_class->AllocObject(self)->AsReference()));
|
H A D | heap-inl.h | 120 return AllocObject<kInstrumented>(self, klass, byte_count, pre_fence_visitor);
|
H A D | heap.h | 192 mirror::Object* AllocObject(Thread* self, mirror::Class* klass, size_t num_bytes,
|
/art/runtime/mirror/ |
H A D | method.cc | 56 auto* ret = down_cast<Method*>(StaticClass()->AllocObject(self)); 97 auto* ret = down_cast<Constructor*>(StaticClass()->AllocObject(self));
|
H A D | field-inl.h | 52 auto ret = hs.NewHandle(static_cast<Field*>(StaticClass()->AllocObject(self)));
|
H A D | stack_trace_element.cc | 46 down_cast<StackTraceElement*>(GetStackTraceElement()->AllocObject(self));
|
H A D | object.cc | 123 // Object::SizeOf gets the right size even if we're an array. Using c->AllocObject() here would 132 copy = heap->AllocObject<true>(self, GetClass(), num_bytes, visitor);
|
H A D | object_test.cc | 553 Handle<Object> x(hs.NewHandle(X->AllocObject(soa.Self()))); 554 Handle<Object> y(hs.NewHandle(Y->AllocObject(soa.Self())));
|
H A D | class-inl.h | 611 inline Object* Class::AllocObject(Thread* self) { function in class:art::mirror::Class
|
H A D | class.cc | 868 heap->AllocObject<true>(self, java_lang_Class_.Read(), new_length, visitor) :
|
/art/runtime/ |
H A D | indirect_reference_table_test.cc | 57 mirror::Object* obj0 = c->AllocObject(soa.Self()); 59 mirror::Object* obj1 = c->AllocObject(soa.Self()); 61 mirror::Object* obj2 = c->AllocObject(soa.Self()); 63 mirror::Object* obj3 = c->AllocObject(soa.Self());
|
H A D | transaction_test.cc | 101 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); 118 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); 235 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); 283 Handle<mirror::Object> h_instance(hs.NewHandle(h_klass->AllocObject(soa.Self()))); 337 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); 454 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self())));
|
H A D | class_linker-inl.h | 158 inline mirror::Object* ClassLinker::AllocObject(Thread* self) { function in class:art::ClassLinker
|
H A D | monitor_test.cc | 96 MutableHandle<mirror::Object> h = (*hsp)->NewHandle<mirror::Object>(c->AllocObject(self));
|
H A D | jni_internal_test.cc | 617 TEST_F(JniInternalTest, AllocObject) { 620 jobject o = env_->AllocObject(c); 858 jstring s = reinterpret_cast<jstring>(env_->AllocObject(c)); 1687 jobject o = env_->AllocObject(c); 1716 jobject o = env_->AllocObject(c); 1972 jthrowable exception = reinterpret_cast<jthrowable>(env_->AllocObject(exception_class)); 2062 jobject object = env_->AllocObject(object_class);
|
H A D | jni_internal.cc | 587 static jobject AllocObject(JNIEnv* env, jclass java_class) { function in class:art::JNI 600 return soa.AddLocalReference<jobject>(c->AllocObject(soa.Self())); 626 mirror::Object* result = c->AllocObject(soa.Self()); 651 mirror::Object* result = c->AllocObject(soa.Self()); 2514 JNI::AllocObject,
|
H A D | class_linker.h | 346 mirror::Object* AllocObject(Thread* self) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
H A D | reflection_test.cc | 122 *receiver = c->AllocObject(self);
|
/art/runtime/native/ |
H A D | java_lang_reflect_Constructor.cc | 81 movable ? c->AllocObject(soa.Self()) : c->AllocNonMovableObject(soa.Self());
|
H A D | java_lang_Class.cc | 472 auto receiver = hs.NewHandle(klass->AllocObject(soa.Self()));
|
/art/test/004-JniTest/ |
H A D | jni_test.cc | 588 // Test AllocObject and Call(Nonvirtual)VoidMethod 589 jstring s1 = reinterpret_cast<jstring>(env->AllocObject(c)); 591 jstring s2 = reinterpret_cast<jstring>(env->AllocObject(c)); 593 jstring s3 = reinterpret_cast<jstring>(env->AllocObject(c)); 595 jstring s4 = reinterpret_cast<jstring>(env->AllocObject(c)); 614 jstring s5 = reinterpret_cast<jstring>(env->AllocObject(c)); 617 jstring s6 = reinterpret_cast<jstring>(env->AllocObject(c));
|
/art/runtime/entrypoints/quick/ |
H A D | quick_entrypoints_list.h | 26 V(AllocObject, void*, uint32_t, ArtMethod*) \
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.cc | 134 env->AllocObject(WellKnownClasses::java_lang_StackOverflowError));
|
/art/runtime/interpreter/ |
H A D | unstarted_runtime.cc | 205 Handle<mirror::Object> h_obj(hs.NewHandle(klass->AllocObject(self))); 439 h_real_to_string_class->AllocObject(self))); 722 Handle<mirror::Object> h_obj(hs.NewHandle(h_class->AllocObject(self)));
|
/art/runtime/arch/ |
H A D | stub_test.cc | 1156 Handle<mirror::Object> obj_obj(hs.NewHandle(c->AllocObject(soa.Self()))); 1260 TEST_F(StubTest, AllocObject) { 1364 Handle<mirror::Object> h = hsp->NewHandle(c->AllocObject(soa.Self())); 2061 jobject o = env->AllocObject(jc);
|