• Home
  • Raw
  • Download

Lines Matching refs:max

33 static void setIdealFootprint(size_t max);
702 uintptr_t base, uintptr_t max) { in aliasBitmap() argument
706 dst->max = max; in aliasBitmap()
707 dst->bitsLen = HB_OFFSET_TO_BYTE_INDEX(max - base) + sizeof(dst->bits); in aliasBitmap()
709 assert(base + HB_MAX_OFFSET(dst) > max); in aliasBitmap()
711 assert((base + HB_MAX_OFFSET(dst)) - max <= in aliasBitmap()
729 uintptr_t base, max; in dvmHeapSourceGetObjectBitmaps() local
738 max = MIN((uintptr_t)hs->heaps[i].limit - 1, hs->markBits.max); in dvmHeapSourceGetObjectBitmaps()
739 aliasBitmap(&liveBits[i], &hs->liveBits, base, max); in dvmHeapSourceGetObjectBitmaps()
740 aliasBitmap(&markBits[i], &hs->markBits, base, max); in dvmHeapSourceGetObjectBitmaps()
803 if (gHs->markBits.max < (uintptr_t)gHs->heaps[i].limit) { in dvmMarkImmuneObjects()
804 gHs->markBits.max = (uintptr_t)gHs->heaps[i].limit; in dvmMarkImmuneObjects()
863 size_t max; in heapAllocAndGrow() local
868 max = heap->absoluteMaxSize; in heapAllocAndGrow()
869 if (max > hs->externalBytesAllocated) { in heapAllocAndGrow()
870 max -= hs->externalBytesAllocated; in heapAllocAndGrow()
872 mspace_set_max_allowed_footprint(heap->msp, max); in heapAllocAndGrow()
1184 setIdealFootprint(size_t max) in setIdealFootprint() argument
1196 if (max > hs->absoluteMaxSize) { in setIdealFootprint()
1198 FRACTIONAL_MB(max), in setIdealFootprint()
1200 max = hs->absoluteMaxSize; in setIdealFootprint()
1201 } else if (max < hs->minimumSize) { in setIdealFootprint()
1202 max = hs->minimumSize; in setIdealFootprint()
1210 if (overhead < max) { in setIdealFootprint()
1211 activeMax = max - overhead; in setIdealFootprint()
1217 hs->idealSize = max; in setIdealFootprint()