Home
last modified time | relevance | path

Searched refs:GetObjectSize (Results 1 – 20 of 20) sorted by relevance

/art/openjdkjvmti/
Dti_object.h42 static jvmtiError GetObjectSize(jvmtiEnv* env, jobject object, jlong* size_ptr);
Dti_object.cc43 jvmtiError ObjectUtil::GetObjectSize(jvmtiEnv* env ATTRIBUTE_UNUSED, in GetObjectSize() function in openjdkjvmti::ObjectUtil
Dalloc_manager.cc109 std::max(art::RoundUp(static_cast<size_t>(type->GetObjectSize()), art::kObjectAlignment), in PreObjectAllocated()
DOpenjdkJvmTi.cc794 static jvmtiError GetObjectSize(jvmtiEnv* env, jobject object, jlong* size_ptr) { in GetObjectSize() function in openjdkjvmti::JvmtiFunctions
796 return ObjectUtil::GetObjectSize(env, object, size_ptr); in GetObjectSize()
1658 JvmtiFunctions::GetObjectSize,
/art/test/920-objects/
Dobjects.cc34 jvmtiError result = jvmti_env->GetObjectSize(object, &size); in Java_art_Test920_getObjectSize()
/art/tools/jvmti-agents/field-counts/
Dfieldcount.cc146 CHECK_JVMTI(jvmti->GetObjectSize(obj.get(), &size)); in DataDumpRequestCb()
168 CHECK_JVMTI(jvmti->GetObjectSize(obj.get(), &size)); in DataDumpRequestCb()
/art/perfetto_hprof/
Dperfetto_hprof.cc582 type_proto->set_object_size(klass->GetObjectSize()); in DumpPerfetto()
612 if (obj->SizeOf() != klass->GetObjectSize()) in DumpPerfetto()
/art/runtime/mirror/
Dclass-inl.h49 inline uint32_t Class::GetObjectSize() { in GetObjectSize() function
692 ? MemberOffset(RoundUp(super_class->GetObjectSize<kVerifyFlags>(), kHeapReferenceSize)) in GetFirstReferenceInstanceFieldOffset()
Dobject-inl.h361 result = GetClass<kNewFlags, kWithoutReadBarrier>()->template GetObjectSize<kNewFlags>(); in SizeOf()
Dclass.h579 uint32_t GetObjectSize() REQUIRES_SHARED(Locks::mutator_lock_);
Dclass.cc282 h_this->SetObjectSizeAllocFastPath(RoundUp(h_this->GetObjectSize(), kObjectAlignment)); in SetStatus()
/art/openjdkjvmti/include/
Djvmti.h1774 jvmtiError (JNICALL *GetObjectSize) (jvmtiEnv* env,
2238 jvmtiError GetObjectSize(jobject object, in GetObjectSize() function
2240 return functions->GetObjectSize(this, object, size_ptr); in GetObjectSize()
/art/compiler/debug/
Delf_debug_info_writer.h336 info_.WriteUdata(DW_AT_byte_size, type->GetObjectSize()); in Write()
/art/runtime/
Dclass_linker.cc790 java_lang_Object->GetObjectSize(), in InitWithoutImage()
937 CHECK_EQ(java_lang_Object->GetObjectSize(), mirror::Object::InstanceSize()); in InitWithoutImage()
942 CHECK_EQ(java_lang_DexCache->GetObjectSize(), mirror::DexCache::InstanceSize()); in InitWithoutImage()
945 CHECK_EQ(dalvik_system_ClassExt->GetObjectSize(), mirror::ClassExt::InstanceSize()); in InitWithoutImage()
1074 CHECK_EQ(java_lang_ref_Reference->GetObjectSize(), mirror::Reference::InstanceSize()); in InitWithoutImage()
1093 CHECK_EQ(class_root->GetObjectSize(), mirror::ClassLoader::InstanceSize()); in InitWithoutImage()
1350 DCHECK_EQ(GetClassRoot<mirror::Object>(this)->GetObjectSize(), sizeof(mirror::Object)); in InitFromBootImage()
8478 field_offset = MemberOffset(super_class->GetObjectSize()); in LinkFields()
8589 size_t previous_size = klass->GetObjectSize(); in LinkFields()
8659 uint32_t start_offset = RoundUp(super_class->GetObjectSize(), in CreateReferenceInstanceOffsets()
Dclass_linker_test.cc492 size_t expected_size = RoundUp(is_static ? klass->GetClassSize() : klass->GetObjectSize(), in Check()
/art/test/913-heaps/
Dheaps.cc73 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->GetObjectSize(obj, &data.size))) { in Java_art_Test913_registerClass()
/art/runtime/hprof/
Dhprof.cc1273 __ AddU4(klass->GetObjectSize()); // instance size in DumpHeapClass()
/art/dex2oat/linker/
Dimage_writer.cc3049 DCHECK_ALIGNED_PARAM(remaining_space, object_class->GetObjectSize()); in CopyAndFixupObjects()
3050 Object* end = dst + remaining_space / object_class->GetObjectSize(); in CopyAndFixupObjects()
/art/runtime/gc/
Dheap.cc3998 RoundUp(c->GetObjectSize(), kObjectAlignment) == in CheckPreconditionsForAllocObject()
4004 << " ObjectSize=" << c->GetObjectSize() in CheckPreconditionsForAllocObject()
/art/runtime/gc/collector/
Dconcurrent_copying.cc3262 CHECK_EQ(byte_size, java_lang_Object_->GetObjectSize<kVerifyNone>()); in FillWithFakeObject()