Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/mem/
Dheap.cpp369 size_t originalNewSpaceSize = activeSemiSpace_->GetHeapObjectSize(); in CollectGarbage() local
425 AdjustBySurvivalRate(originalNewSpaceSize); in CollectGarbage()
477 void Heap::AdjustBySurvivalRate(size_t originalNewSpaceSize) in AdjustBySurvivalRate() argument
479 if (originalNewSpaceSize <= 0) { in AdjustBySurvivalRate()
483 double copiedRate = semiSpaceCopiedSize_ * 1.0 / originalNewSpaceSize; in AdjustBySurvivalRate()
485 double promotedRate = promotedSize_ * 1.0 / originalNewSpaceSize; in AdjustBySurvivalRate()
Dheap.h290 void AdjustBySurvivalRate(size_t originalNewSpaceSize);