Home | History | Annotate | Download | only in alloc

Lines Matching full:maximumsize

69     size_t maximumSize;
114 size_t maximumSize;
372 static bool addInitialHeap(HeapSource *hs, mspace msp, size_t maximumSize)
380 hs->heaps[0].maximumSize = maximumSize;
383 hs->heaps[0].limit = hs->heapBase + maximumSize;
445 if (overhead + hs->minFree >= hs->maximumSize) {
448 overhead, hs->maximumSize);
452 heap.maximumSize = hs->growthLimit - overhead;
455 heap.limit = heap.base + heap.maximumSize;
467 hs->heaps[0].maximumSize = overhead;
561 static bool allocMarkStack(GcMarkStack *stack, size_t maximumSize)
567 stack->length = maximumSize * sizeof(Object*) /
592 GcHeap* dvmHeapSourceStartup(size_t startSize, size_t maximumSize,
603 if (!(startSize <= growthLimit && growthLimit <= maximumSize)) {
605 startSize, maximumSize, growthLimit);
613 length = ALIGN_UP_TO_PAGE_SIZE(maximumSize);
644 hs->maximumSize = maximumSize;
658 if (hs->maxFree > hs->maximumSize) {
659 hs->maxFree = hs->maximumSize;
680 if (!allocMarkStack(&gcHeap->markContext.stack, hs->maximumSize)) {
1001 size_t max = heap->maximumSize;
1207 gHs->growthLimit = gHs->maximumSize;
1209 gHs->heaps[0].maximumSize = gHs->maximumSize - overhead;
1210 gHs->heaps[0].limit = gHs->heaps[0].base + gHs->heaps[0].maximumSize;
1282 size_t maximumSize = getMaximumSize(hs);
1283 if (max > maximumSize) {
1286 FRACTIONAL_MB(maximumSize));
1287 max = maximumSize;