Home
last modified time | relevance | path

Searched refs:maximumSize (Results 1 – 3 of 3) sorted by relevance

/dalvik/vm/alloc/
DHeapSource.cpp67 size_t maximumSize; member
112 size_t maximumSize; member
362 static bool addInitialHeap(HeapSource *hs, mspace msp, size_t maximumSize) in addInitialHeap() argument
370 hs->heaps[0].maximumSize = maximumSize; in addInitialHeap()
373 hs->heaps[0].limit = hs->heapBase + maximumSize; in addInitialHeap()
405 if (overhead + hs->minFree >= hs->maximumSize) { in addNewHeap()
408 overhead, hs->maximumSize); in addNewHeap()
412 heap.maximumSize = hs->growthLimit - overhead; in addNewHeap()
415 heap.limit = heap.base + heap.maximumSize; in addNewHeap()
424 hs->heaps[0].maximumSize = overhead; in addNewHeap()
[all …]
DHeapSource.h42 size_t maximumSize,
DCopying.cpp225 size_t maximumSize; member
451 heapSource->maximumSize = alignUp(absoluteMaxSize, BLOCK_SIZE); in dvmHeapSourceStartup()
453 heapSource->currentSize = heapSource->maximumSize; in dvmHeapSourceStartup()
456 heapSource->blockBase = virtualAlloc(heapSource->maximumSize); in dvmHeapSourceStartup()
459 …heapSource->limitBlock = ((uintptr_t) heapSource->blockBase + heapSource->maximumSize) >> BLOCK_SH… in dvmHeapSourceStartup()
464 assert(heapSource->totalBlocks = heapSource->maximumSize / BLOCK_SIZE); in dvmHeapSourceStartup()
483 heapSource->maximumSize, in dvmHeapSourceStartup()
520 (*gcHeap)->heapSource->maximumSize); in dvmHeapSourceShutdown()
537 value = heapSource->maximumSize; in dvmHeapSourceGetValue()
540 value = heapSource->maximumSize; in dvmHeapSourceGetValue()
[all …]