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

/art/runtime/mirror/
H A Dstack_trace_element.cc46 down_cast<StackTraceElement*>(GetStackTraceElement()->AllocObject(self));
H A Dobject.cc45 // Using c->AllocObject() here would be wrong.
48 SirtRef<Object> copy(self, heap->AllocObject(self, c, num_bytes));
H A Darray.cc55 Array* array = down_cast<Array*>(heap->AllocObject(self, array_class, size));
H A Dstring.cc170 // Hold reference in case AllocObject causes GC.
172 String* string = down_cast<String*>(java_lang_String->AllocObject(self));
H A Dclass.cc121 Object* Class::AllocObject(Thread* self) { function in class:art::mirror::Class
127 return Runtime::Current()->GetHeap()->AllocObject(self, this, this->object_size_);
H A Dobject_test.cc467 SirtRef<Object> x(soa.Self(), X->AllocObject(soa.Self()));
468 SirtRef<Object> y(soa.Self(), Y->AllocObject(soa.Self()));
H A Dclass.h374 Object* AllocObject(Thread* self) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
/art/runtime/native/
H A Djava_lang_reflect_Constructor.cc58 mirror::Object* receiver = c->AllocObject(soa.Self());
/art/runtime/
H A Dindirect_reference_table_test.cc52 mirror::Object* obj0 = c->AllocObject(soa.Self());
54 mirror::Object* obj1 = c->AllocObject(soa.Self());
56 mirror::Object* obj2 = c->AllocObject(soa.Self());
58 mirror::Object* obj3 = c->AllocObject(soa.Self());
H A Djni_internal_test.cc108 receiver = (is_static ? NULL : c->AllocObject(self));
726 TEST_F(JniInternalTest, AllocObject) {
729 jobject o = env_->AllocObject(c);
1395 jobject o = env_->AllocObject(c);
1424 jobject o = env_->AllocObject(c);
1810 jthrowable exception = reinterpret_cast<jthrowable>(env_->AllocObject(exception_class));
1858 jobject object = env_->AllocObject(object_class);
H A Dcommon_test.h451 soa.Env()->AllocObject(WellKnownClasses::dalvik_system_PathClassLoader));
H A Djni_internal.cc681 jobject reflect_method = env->AllocObject(WellKnownClasses::java_lang_reflect_Method);
697 jobject reflect_field = env->AllocObject(WellKnownClasses::java_lang_reflect_Field);
908 static jobject AllocObject(JNIEnv* env, jclass java_class) { function in class:art::JNI
909 CHECK_NON_NULL_ARGUMENT(AllocObject, java_class);
915 return soa.AddLocalReference<jobject>(c->AllocObject(soa.Self()));
936 Object* result = c->AllocObject(soa.Self());
957 Object* result = c->AllocObject(soa.Self());
2627 JNI::AllocObject,
H A Druntime.cc1176 method(self, down_cast<mirror::ArtMethod*>(method_class->AllocObject(self)));
1192 method(self, down_cast<mirror::ArtMethod*>(method_class->AllocObject(self)));
H A Dcheck_jni.cc1276 static jobject AllocObject(JNIEnv* env, jclass c) { function in class:art::CheckJNI
1278 return CHECK_JNI_EXIT("L", baseEnv(env)->AllocObject(env, c));
1820 CheckJNI::AllocObject,
H A Dclass_linker.cc214 down_cast<mirror::Class*>(heap->AllocObject(self, NULL,
1181 down_cast<mirror::DexCache*>(heap->AllocObject(self, dex_cache_class,
1232 mirror::Object* k = heap->AllocObject(self, java_lang_Class, class_size);
1250 return down_cast<mirror::ArtField*>(GetClassRoot(kJavaLangReflectArtField)->AllocObject(self));
1254 return down_cast<mirror::ArtMethod*>(GetClassRoot(kJavaLangReflectArtMethod)->AllocObject(self));
H A Dthread.cc368 ScopedLocalRef<jobject> peer(env, env->AllocObject(WellKnownClasses::java_lang_Thread));
1513 down_cast<mirror::Throwable*>(exception_class->AllocObject(this)));
H A Ddebugger.cc1107 new_object = gRegistry->Add(c->AllocObject(Thread::Current()));
/art/compiler/llvm/
H A Druntime_support_llvm_func_list.h38 V(AllocObject, art_portable_alloc_object_from_code) \
H A Dgbc_expander.cc72 using ::art::llvm::runtime_support::AllocObject;
2295 runtime_func = irb_.GetRuntime(AllocObject);
2968 case IntrinsicHelper::AllocObject: {
2969 return ExpandToRuntime(AllocObject, call_inst);
H A Dintrinsic_func_list.def269 _EVAL_DEF_INTRINSICS_FUNC(AllocObject,
/art/runtime/entrypoints/
H A Dentrypoint_utils.h76 return klass->AllocObject(self);
/art/dex2oat/
H A Ddex2oat.cc248 soa.Env()->AllocObject(WellKnownClasses::dalvik_system_PathClassLoader);
250 soa.Env()->AllocObject(WellKnownClasses::dalvik_system_PathClassLoader));
/art/runtime/gc/
H A Dheap.h131 mirror::Object* AllocObject(Thread* self, mirror::Class* klass, size_t num_bytes)
H A Dheap.cc557 mirror::Object* Heap::AllocObject(Thread* self, mirror::Class* c, size_t byte_count) { function in class:art::gc::Heap
/art/runtime/interpreter/
H A Dinterpreter.cc88 SirtRef<Object> obj(self, klass->AllocObject(self));
123 SirtRef<Object> field(self, jlr_Field->AllocObject(self));

Completed in 2827 milliseconds