Home
last modified time | relevance | path

Searched refs:GetAllocatedBytes (Results 1 - 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/mem/
H A Dlinear_space.cpp94 currentRegion->GetAllocatedBytes(top) - currentRegion->GetAllocatedBytes(waterLine_); in Expand()
96 allocateAfterLastGC_ += currentRegion->GetAllocatedBytes(top); in Expand()
100 survivalObjectSize_ += currentRegion->GetAllocatedBytes(top); in Expand()
135 endPtr = curPtr + region->GetAllocatedBytes(top); in IterateOverObjects()
137 endPtr = curPtr + region->GetAllocatedBytes(); in IterateOverObjects()
285 currentRegion->GetAllocatedBytes(top) - currentRegion->GetAllocatedBytes(waterLine_); in Expand()
287 allocateAfterLastGC_ += currentRegion->GetAllocatedBytes(top); in Expand()
335 currentRegionSize = currentRegion->GetAllocatedBytes(to in GetAllocatedSizeSinceGC()
[all...]
H A Dparallel_evacuator.cpp508 endPtr = curPtr + region->GetAllocatedBytes(top); in UpdateNewRegionReference()
510 endPtr = curPtr + region->GetAllocatedBytes(); in UpdateNewRegionReference()
538 uintptr_t freeEnd = freeStart + region->GetAllocatedBytes(); in UpdateAndSweepNewRegionReference()
H A Dregion.h670 size_t GetAllocatedBytes(uintptr_t top = 0) in GetAllocatedBytes() function in panda::ecmascript::Region
/arkcompiler/runtime_core/static_core/runtime/mem/
H A Dregion_space.h112 uint32_t GetAllocatedBytes() const;
118 ASSERT(GetAllocatedBytes() >= GetLiveBytes()); in GetGarbageBytes()
119 return GetAllocatedBytes() - GetLiveBytes(); in GetGarbageBytes()
H A Dregion_space.cpp23 uint32_t Region::GetAllocatedBytes() const in GetAllocatedBytes() function in ark::mem::Region
38 ASSERT(Size() >= GetAllocatedBytes()); in GetFragmentation()
39 return static_cast<double>(Size() - GetAllocatedBytes()) / Size(); in GetFragmentation()
H A Dregion_allocator-inl.h540 region->SetLiveBytes(region->GetAllocatedBytes()); in PromoteYoungRegion()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/
H A Dg1-gc.cpp141 size_t moveSize = region->GetAllocatedBytes(); in DoRegionCompacting()
206 DumpRegionRange(log, *region) << " A " << ark::helpers::MemoryConverter(region->GetAllocatedBytes()) << " L "; in operator <<()
222 size_t moveSize = region->GetAllocatedBytes(); in RegionPromotionImpl()
404 deleteSize += i->GetAllocatedBytes(); in ClearEmptyTenuredMovableRegions()
452 size_t allocatedSize = region->GetAllocatedBytes(); in RegionCompactingImpl()
1145 auto allocated = region->GetAllocatedBytes(); in CollectInSinglePass()
1945 ASSERT(garbageRegion->GetAllocatedBytes() != 0U); in AddOldRegionsMaxAllowed()
1946 double garbageRate = static_cast<double>(garbageRegion->GetGarbageBytes()) / garbageRegion->GetAllocatedBytes(); in AddOldRegionsMaxAllowed()
2008 ASSERT(garbageRegion->GetAllocatedBytes() != 0U); in AddMoreOldRegionsAccordingPauseTimeGoal()
2012 auto garbageRate = static_cast<double>(garbageRegion->GetGarbageBytes()) / garbageRegion->GetAllocatedBytes(); in AddMoreOldRegionsAccordingPauseTimeGoal()
[all...]
H A Dg1_analytics.cpp321 auto expectedLiveObjects = region->GetLiveBytes() * region->GetAllocatedObjects() / region->GetAllocatedBytes(); in PredictOldCollectionTimeInMicros()
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dg1gc_test.cpp1803 size_t sizeRegionBefore = ObjectToRegion(handle.GetPtr())->GetAllocatedBytes(); in TEST_F()
1805 size_t sizeRegionAfter = ObjectToRegion(handle.GetPtr())->GetAllocatedBytes(); in TEST_F()
1819 size_t sizeRegionBefore = ObjectToRegion(handle.GetPtr())->GetAllocatedBytes(); in TEST_F()
1827 size_t sizeRegionAfter = ObjectToRegion(handle.GetPtr())->GetAllocatedBytes(); in TEST_F()
1841 size_t sizeRegionBefore = ObjectToRegion(handle.GetPtr())->GetAllocatedBytes(); in TEST_F()
1849 size_t sizeRegionAfter = ObjectToRegion(handle.GetPtr())->GetAllocatedBytes(); in TEST_F()
1864 size_t sizeRegionBefore = ObjectToRegion(handle1.GetPtr())->GetAllocatedBytes(); in TEST_F()
1871 size_t sizeRegionAfter = ObjectToRegion(handle1.GetPtr())->GetAllocatedBytes(); in TEST_F()
1889 size_t sizeRegionBefore = ObjectToRegion(handle1.GetPtr())->GetAllocatedBytes(); in TEST_F()
1899 size_t sizeRegionAfter = ObjectToRegion(handle1.GetPtr())->GetAllocatedBytes(); in TEST_F()
[all...]
/arkcompiler/ets_runtime/ecmascript/serializer/
H A Dbase_deserializer.cpp625 region->IncreaseAliveObject(region->GetAllocatedBytes()); in AllocateMultiSharedRegion()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
H A Dsnapshot_processor.cpp1529 size_t allocated = current->GetAllocatedBytes(); in RelocateSpaceObject()

Completed in 19 milliseconds