Home
last modified time | relevance | path

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

12

/arkcompiler/runtime_core/static_core/runtime/mem/
Dtlab.cpp80 size_t objectSize = GetObjectSize(curPtr); in IterateOverObjects()
98 size_t objectSize = GetObjectSize(static_cast<ObjectHeader *>(currentPtr)); in IterateOverObjectsInRange()
103 size_t objectSize = GetObjectSize(currentPtr); in IterateOverObjectsInRange()
Dbump-allocator-inl.h167 size_t objectSize = GetObjectSize(curPtr); in IterateOverObjects()
219 size_t objectSize = GetObjectSize(currentPtr); in IterateOverObjectsInRange()
293 size_t objectSize = GetObjectSize(currentObj); in IsLive()
Dobject_helpers-inl.h167 … size_t hklassSize = dynClass->ClassAddr<HClass>()->GetObjectSize() - sizeof(coretypes::DynClass); in TraverseClass()
191 uint32_t objBodySize = cls->GetObjectSize() - ObjectHeader::ObjectHeaderSize(); in TraverseObject()
Dobject_helpers.h46 inline size_t GetObjectSize(const void *mem) in GetObjectSize() function
Dregion_space.cpp124 … [&liveBytes](const void *object) { liveBytes += GetAlignedObjectSize(GetObjectSize(object)); }); in CalcLiveBytes()
133 … [&liveBytes](const void *object) { liveBytes += GetAlignedObjectSize(GetObjectSize(object)); }); in CalcMarkBytes()
Dregion_space-inl.h102 size_t objectSize = GetObjectSize(objectHeader); in IterateOverObjects()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_hclass_test.cpp142 EXPECT_TRUE(objectClass->GetObjectSize() == cloneClass->GetObjectSize()); in HWTEST_F_L0()
143 … EXPECT_EQ(cloneClass->GetObjectSize(), 64U); // 64 : 64 not missing the size of inlinedproperties in HWTEST_F_L0()
153 EXPECT_TRUE(objectClass->GetObjectSize() > cloneClass->GetObjectSize()); in HWTEST_F_L0()
154 EXPECT_EQ(cloneClass->GetObjectSize(), 32U); // 32 : 32 missing the size of inlinedproperties in HWTEST_F_L0()
192 EXPECT_EQ(dictionaryClass->GetObjectSize() + 32U, objectClass->GetObjectSize()); in HWTEST_F_L0()
382 EXPECT_TRUE(obj0Class->GetObjectSize() < obj0Class1->GetObjectSize()); in HWTEST_F_L0()
400 EXPECT_TRUE(newClass->GetObjectSize() < obj2Class->GetObjectSize()); in HWTEST_F_L0()
Dobject_factory_test.cpp86 EXPECT_TRUE(cls->GetObjectSize() == in HWTEST_F_L0()
123 EXPECT_TRUE(cls->GetObjectSize() == in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/mem/
Dlayout_visitor.h31 auto objSize = hclass->GetObjectSize(); in IterateBody()
Dheap-inl.h132 size_t size = hclass->GetObjectSize(); in AllocateYoungOrHugeObject()
194 size_t size = hclass->GetObjectSize(); in AllocateOldOrHugeObject()
213 size_t size = hclass->GetObjectSize(); in AllocateReadOnlyOrHugeObject()
232 size_t size = hclass->GetObjectSize(); in AllocateNonMovableOrHugeObject()
Dspace.h135 size_t GetObjectSize() in GetObjectSize() function
/arkcompiler/runtime_core/static_core/runtime/
Dobject_header.cpp53 size_t size = klass->GetObjectSize(); in CreateObject()
266 return baseKlass->GetObjectSize(); in ObjectSizeDyn()
288 return baseKlass->GetObjectSize(); in ObjectSizeStatic()
Dclass.cpp134 os << " objectSize=" << BaseClass::GetObjectSize() << " \n"; in DumpClass()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/dynamic/
Dgc_marker_dynamic-inl.h35 uint32_t objBodySize = cls->GetObjectSize() - ObjectHeader::ObjectHeaderSize(); in HandleObject()
64 size_t klassSize = cls->ClassAddr<HClass>()->GetObjectSize(); in HandleClass()
/arkcompiler/ets_runtime/ecmascript/
Dfree_object.h60 return hclass->GetObjectSize(); in Available()
Djs_hclass-inl.h227 ASSERT(GetObjectSize() != 0); in SizeFromJSHClass()
228 size = GetObjectSize(); in SizeFromJSHClass()
Djs_hclass.h1705 inline uint32_t GetObjectSize() const in GetObjectSize() function
1713 return GetObjectSize() - GetInlinedProperties() * JSTaggedValue::TaggedTypeSize(); in GetObjectSizeExcludeInlinedProps()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_layout.h228 uint32_t GetObjectSize() const in GetObjectSize() function
471 uint32_t GetObjectSize() const in GetObjectSize() function
610 root->SetObjectSize(rootLayoutDesc->GetObjectSize()); in Merge()
634 rootLayoutDesc->SetObjectSize(root->GetObjectSize()); in Convert()
/arkcompiler/runtime_core/static_core/runtime/tooling/
Ddefault_inspector_extension.cpp209 auto objBodySize = cls->GetObjectSize() - dataOffset; in EnumerateProperties()
218 uint32_t objBodySize = cls->GetObjectSize() - ObjectHeader::ObjectHeaderSize(); in EnumerateProperties()
/arkcompiler/runtime_core/static_core/runtime/include/
Dclass.h60 uint32_t GetObjectSize() const in GetObjectSize() function
318 uint32_t GetObjectSize() const in GetObjectSize() function
321 return BaseClass::GetObjectSize(); in GetObjectSize()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dntype_hcr_lowering.cpp151 size_t arraySize = arrayHC->GetObjectSize(); in NewJSArrayLiteral()
156 GateRef size = builder_.IntPtr(arrayHC->GetObjectSize()); in NewJSArrayLiteral()
Dtyped_bytecode_lowering.cpp1867 size_t objectSize = objectHC->GetObjectSize(); in LowerCreateEmptyObject()
1870 GateRef size = builder_.IntPtr(objectHC->GetObjectSize()); in LowerCreateEmptyObject()
1928 auto size = newClass->GetObjectSize(); in LowerCreateObjectWithBuffer()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dobject_helpers_test.cpp115 … return runtime->GetPandaVM()->GetHeapManager()->AllocateObject(klass, klass->GetObjectSize()); in AllocObject()
Dregion_allocator_test.cpp381 auto *obj1 = reinterpret_cast<ObjectHeader *>(allocator.Alloc(testClass_->GetObjectSize())); in TEST_F()
383 auto *obj2 = reinterpret_cast<ObjectHeader *>(allocator.Alloc(testClass_->GetObjectSize())); in TEST_F()
400 ASSERT_DEATH(allocator.Alloc(testClass_->GetObjectSize()), ""); in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/gen-gc/
Dgen-gc.cpp301 size_t size = GetObjectSize(objectHeader); in CollectYoungAndMove()
628 freedObjectSize += GetAlignedObjectSize(GetObjectSize(object)); in Sweep()

12