/art/runtime/mirror/ |
D | object-refvisitor-inl.h | 146 size = kFetchObjSize ? klass->GetObjectSize<kSizeOfFlags>() : 0; in VisitRefsForCompaction() 159 size = kFetchObjSize ? klass->GetObjectSize<kSizeOfFlags>() : 0; in VisitRefsForCompaction() 178 size = kFetchObjSize ? klass->GetObjectSize<kSizeOfFlags>() : 0; in VisitRefsForCompaction() 185 size = kFetchObjSize ? klass->GetObjectSize<kSizeOfFlags>() : 0; in VisitRefsForCompaction() 192 size = kFetchObjSize ? klass->GetObjectSize<kSizeOfFlags>() : 0; in VisitRefsForCompaction()
|
D | class-inl.h | 49 inline uint32_t Class::GetObjectSize() { in GetObjectSize() function 649 ? MemberOffset(RoundUp(super_class->GetObjectSize<kVerifyFlags>(), kHeapReferenceSize)) in GetFirstReferenceInstanceFieldOffset()
|
D | object-inl.h | 361 result = GetClass<kNewFlags, kWithoutReadBarrier>()->template GetObjectSize<kNewFlags>(); in SizeOf()
|
D | class.h | 592 uint32_t GetObjectSize() REQUIRES_SHARED(Locks::mutator_lock_);
|
D | class.cc | 250 h_this->SetObjectSizeAllocFastPath(RoundUp(h_this->GetObjectSize(), kObjectAlignment)); in SetStatus()
|
/art/openjdkjvmti/ |
D | ti_object.h | 42 static jvmtiError GetObjectSize(jvmtiEnv* env, jobject object, jlong* size_ptr);
|
D | ti_object.cc | 43 jvmtiError ObjectUtil::GetObjectSize([[maybe_unused]] jvmtiEnv* env, in GetObjectSize() function in openjdkjvmti::ObjectUtil
|
D | alloc_manager.cc | 109 std::max(art::RoundUp(static_cast<size_t>(type->GetObjectSize()), art::kObjectAlignment), in PreObjectAllocated()
|
D | OpenjdkJvmTi.cc | 788 static jvmtiError GetObjectSize(jvmtiEnv* env, jobject object, jlong* size_ptr) { in GetObjectSize() function in openjdkjvmti::JvmtiFunctions 790 return ObjectUtil::GetObjectSize(env, object, size_ptr); in GetObjectSize() 1660 JvmtiFunctions::GetObjectSize,
|
/art/test/920-objects/ |
D | objects.cc | 34 jvmtiError result = jvmti_env->GetObjectSize(object, &size); in Java_art_Test920_getObjectSize()
|
/art/tools/jvmti-agents/field-counts/ |
D | fieldcount.cc | 146 CHECK_JVMTI(jvmti->GetObjectSize(obj.get(), &size)); in DataDumpRequestCb() 168 CHECK_JVMTI(jvmti->GetObjectSize(obj.get(), &size)); in DataDumpRequestCb()
|
/art/runtime/gc/ |
D | heap-inl.h | 165 int new_byte_count = klass->IsVariableSize()? byte_count : klass->GetObjectSize(); in AllocObjectWithAllocator()
|
D | heap.cc | 4305 RoundUp(c->GetObjectSize(), kObjectAlignment) == in CheckPreconditionsForAllocObject() 4311 << " ObjectSize=" << c->GetObjectSize() in CheckPreconditionsForAllocObject()
|
/art/perfetto_hprof/ |
D | perfetto_hprof.cc | 757 if (obj->SizeOf() != klass->GetObjectSize()) { in WriteOneObject() 773 type_proto->set_object_size(klass->GetObjectSize()); in WriteClass()
|
/art/openjdkjvmti/include/ |
D | jvmti.h | 1774 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/ |
D | elf_debug_info_writer.h | 337 info_.WriteUdata(DW_AT_byte_size, type->GetObjectSize()); in Write()
|
/art/test/913-heaps/ |
D | heaps.cc | 73 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->GetObjectSize(obj, &data.size))) { in Java_art_Test913_registerClass()
|
/art/runtime/ |
D | class_linker.cc | 721 java_lang_Object->GetObjectSize(), in InitWithoutImage() 874 CHECK_EQ(java_lang_Object->GetObjectSize(), mirror::Object::InstanceSize()); in InitWithoutImage() 879 CHECK_EQ(java_lang_DexCache->GetObjectSize(), mirror::DexCache::InstanceSize()); in InitWithoutImage() 882 CHECK_EQ(dalvik_system_ClassExt->GetObjectSize(), mirror::ClassExt::InstanceSize()); in InitWithoutImage() 1020 CHECK_EQ(java_lang_ref_Reference->GetObjectSize(), mirror::Reference::InstanceSize()); in InitWithoutImage() 1039 CHECK_EQ(class_root->GetObjectSize(), mirror::ClassLoader::InstanceSize()); in InitWithoutImage() 1451 DCHECK_EQ(GetClassRoot<mirror::Object>(this)->GetObjectSize(), sizeof(mirror::Object)); in InitFromBootImage() 9270 field_offset = MemberOffset(super_class->GetObjectSize()); in LinkFields() 9504 size_t previous_size = klass->GetObjectSize(); in LinkFields() 9886 uint32_t start_offset = RoundUp(super_class->GetObjectSize(), in CreateReferenceInstanceOffsets()
|
D | runtime_image.cc | 1627 copy->SetObjectSizeAllocFastPath(RoundUp(cls->GetObjectSize(), kObjectAlignment)); in CopyClass()
|
D | class_linker_test.cc | 492 size_t expected_size = RoundUp(klass->GetObjectSize(), kPackAlignment); in Check()
|
/art/runtime/hprof/ |
D | hprof.cc | 1268 __ AddU4(klass->GetObjectSize()); // instance size in DumpHeapClass()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 3265 DCHECK_ALIGNED_PARAM(remaining_space, object_class->GetObjectSize()); in CopyAndFixupObjects() 3266 Object* end = dst + remaining_space / object_class->GetObjectSize(); in CopyAndFixupObjects()
|
/art/runtime/gc/collector/ |
D | concurrent_copying.cc | 3373 CHECK_EQ(byte_size, java_lang_Object_->GetObjectSize<kVerifyNone>()); in FillWithFakeObject()
|