Lines Matching defs:targetSize
1362 size_t targetSize = (liveSize / hs->targetUtilization) * HEAP_UTILIZATION_MAX;
1367 if (targetSize > liveSize + hs->maxFree) {
1368 targetSize = liveSize + hs->maxFree;
1369 } else if (targetSize < liveSize + hs->minFree) {
1370 targetSize = liveSize + hs->minFree;
1372 return targetSize;
1520 size_t targetSize =
1523 if (targetSize > nativeSize + gHs->maxFree) {
1524 targetSize = nativeSize + gHs->maxFree;
1525 } else if (targetSize < nativeSize + gHs->minFree) {
1526 targetSize = nativeSize + gHs->minFree;
1528 gHs->nativeFootprintGCWatermark = targetSize;
1529 gHs->nativeFootprintLimit = 2 * targetSize - nativeSize;