Home | History | Annotate | Download | only in alloc

Lines Matching full:maximumsize

74     size_t maximumSize;
113 size_t maximumSize;
289 static mspace createMspace(void *base, size_t startSize, size_t maximumSize)
303 maximumSize, /*locked=*/false, base);
314 startSize/2, maximumSize, strerror(errno));
324 static bool addInitialHeap(HeapSource *hs, mspace msp, size_t maximumSize)
332 hs->heaps[0].maximumSize = maximumSize;
335 hs->heaps[0].limit = hs->heapBase + hs->heaps[0].maximumSize;
367 if (overhead + HEAP_MIN_FREE >= hs->maximumSize) {
370 overhead, hs->maximumSize);
374 heap.maximumSize = hs->growthLimit - overhead;
377 heap.limit = heap.base + heap.maximumSize;
378 heap.msp = createMspace(base, HEAP_MIN_FREE, hs->maximumSize - overhead);
385 hs->heaps[0].maximumSize = overhead;
472 static bool allocMarkStack(GcMarkStack *stack, size_t maximumSize)
478 stack->length = maximumSize * sizeof(Object*) /
503 GcHeap* dvmHeapSourceStartup(size_t startSize, size_t maximumSize,
514 if (!(startSize <= growthLimit && growthLimit <= maximumSize)) {
516 startSize, maximumSize, growthLimit);
524 length = ALIGN_UP_TO_PAGE_SIZE(maximumSize);
533 msp = createMspace(base, startSize, maximumSize);
555 hs->maximumSize = maximumSize;
577 if (!allocMarkStack(&gcHeap->markContext.stack, hs->maximumSize)) {
840 size_t max = heap->maximumSize;
1073 gHs->growthLimit = gHs->maximumSize;
1075 gHs->heaps[0].maximumSize = gHs->maximumSize - overhead;
1076 gHs->heaps[0].limit = gHs->heaps[0].base + gHs->heaps[0].maximumSize;
1148 size_t maximumSize = getMaximumSize(hs);
1149 if (max > maximumSize) {
1152 FRACTIONAL_MB(maximumSize));
1153 max = maximumSize;