Lines Matching full:maximumsize
67 size_t maximumSize;
112 size_t maximumSize;
362 static bool addInitialHeap(HeapSource *hs, mspace msp, size_t maximumSize)
370 hs->heaps[0].maximumSize = maximumSize;
373 hs->heaps[0].limit = hs->heapBase + maximumSize;
405 if (overhead + hs->minFree >= hs->maximumSize) {
408 overhead, hs->maximumSize);
412 heap.maximumSize = hs->growthLimit - overhead;
415 heap.limit = heap.base + heap.maximumSize;
424 hs->heaps[0].maximumSize = overhead;
518 static bool allocMarkStack(GcMarkStack *stack, size_t maximumSize)
524 stack->length = maximumSize * sizeof(Object*) /
549 GcHeap* dvmHeapSourceStartup(size_t startSize, size_t maximumSize,
560 if (!(startSize <= growthLimit && growthLimit <= maximumSize)) {
562 startSize, maximumSize, growthLimit);
570 length = ALIGN_UP_TO_PAGE_SIZE(maximumSize);
601 hs->maximumSize = maximumSize;
611 if (hs->maxFree > hs->maximumSize) {
612 hs->maxFree = hs->maximumSize;
633 if (!allocMarkStack(&gcHeap->markContext.stack, hs->maximumSize)) {
919 size_t max = heap->maximumSize;
1125 gHs->growthLimit = gHs->maximumSize;
1127 gHs->heaps[0].maximumSize = gHs->maximumSize - overhead;
1128 gHs->heaps[0].limit = gHs->heaps[0].base + gHs->heaps[0].maximumSize;
1200 size_t maximumSize = getMaximumSize(hs);
1201 if (max > maximumSize) {
1204 FRACTIONAL_MB(maximumSize));
1205 max = maximumSize;