Home
last modified time | relevance | path

Searched refs:currentRegion (Results 1 – 2 of 2) sorted by relevance

/ark/js_runtime/ecmascript/mem/
Dlinear_space.cpp58 auto currentRegion = GetCurrentRegion(); in Expand() local
59 if (currentRegion != nullptr) { in Expand()
61 if (currentRegion->HasAgeMark()) { in Expand()
63currentRegion->GetAllocatedBytes(top) - currentRegion->GetAllocatedBytes(waterLine_); in Expand()
65 allocateAfterLastGC_ += currentRegion->GetAllocatedBytes(top); in Expand()
69 survivalObjectSize_ += currentRegion->GetAllocatedBytes(top); in Expand()
71 currentRegion->SetHighWaterMark(top); in Expand()
227 auto currentRegion = GetCurrentRegion(); in GetAllocatedSizeSinceGC() local
228 if (currentRegion != nullptr) { in GetAllocatedSizeSinceGC()
229 currentRegionSize = currentRegion->GetAllocatedBytes(); in GetAllocatedSizeSinceGC()
[all …]
Dspace.cpp100 Region *currentRegion = GetRegionList().GetFirst(); in Sweeping() local
101 while (currentRegion != nullptr) { in Sweeping()
102 Region *next = currentRegion->GetNext(); in Sweeping()
103 auto markBitmap = currentRegion->GetMarkBitmap(); in Sweeping()
108 GetRegionList().RemoveNode(currentRegion); in Sweeping()
109 ClearAndFreeRegion(currentRegion); in Sweeping()
111 currentRegion = next; in Sweeping()