Searched refs:liveSize (Results 1 – 1 of 1) sorted by relevance
1267 static size_t getUtilizationTarget(const HeapSource* hs, size_t liveSize) in getUtilizationTarget() argument1272 size_t targetSize = (liveSize / hs->targetUtilization) * HEAP_UTILIZATION_MAX; in getUtilizationTarget()1277 if (targetSize > liveSize + hs->maxFree) { in getUtilizationTarget()1278 targetSize = liveSize + hs->maxFree; in getUtilizationTarget()1279 } else if (targetSize < liveSize + hs->minFree) { in getUtilizationTarget()1280 targetSize = liveSize + hs->minFree; in getUtilizationTarget()