Lines Matching refs:msp
63 mspace msp; member
215 return mspace_footprint_limit(hs2heap(hs)->msp); in getAllocLimit()
235 footprint += mspace_footprint(hs->heaps[i].msp); in oldHeapOverhead()
270 assert(heap->bytesAllocated < mspace_footprint(heap->msp)); in countAllocation()
278 assert(heap->bytesAllocated < mspace_footprint(heap->msp)); in countAllocation()
309 mspace msp = create_mspace_with_base(begin, morecoreStart, false /*locked*/); in createMspace() local
310 if (msp != NULL) { in createMspace()
312 mspace_set_footprint_limit(msp, startingSize); in createMspace()
316 return msp; in createMspace()
326 if (gHs->heaps[i].msp == mspace) { in dvmHeapSourceMorecore()
362 static bool addInitialHeap(HeapSource *hs, mspace msp, size_t maximumSize) in addInitialHeap() argument
365 assert(msp != NULL); in addInitialHeap()
369 hs->heaps[0].msp = msp; in addInitialHeap()
417 heap.msp = createMspace(base, morecoreStart, hs->minFree); in addNewHeap()
418 if (heap.msp == NULL) { in addNewHeap()
426 mspace_set_footprint_limit(hs->heaps[0].msp, overhead); in addNewHeap()
554 mspace msp; in dvmHeapSourceStartup() local
579 msp = createMspace(base, kInitialMorecoreStart, startSize); in dvmHeapSourceStartup()
580 if (msp == NULL) { in dvmHeapSourceStartup()
620 if (!addInitialHeap(hs, msp, growthLimit)) { in dvmHeapSourceStartup()
761 assert(value == mspace_footprint(heap->msp)); in dvmHeapSourceGetValue()
764 value = mspace_footprint_limit(heap->msp); in dvmHeapSourceGetValue()
886 void* ptr = mspace_calloc(heap->msp, 1, n); in dvmHeapSourceAlloc()
921 mspace_set_footprint_limit(heap->msp, max); in heapAllocAndGrow()
927 mspace_set_footprint_limit(heap->msp, in heapAllocAndGrow()
928 mspace_footprint(heap->msp)); in heapAllocAndGrow()
1001 mspace msp = heap->msp; in dvmHeapSourceFreeList() local
1014 mspace_bulk_free(msp, ptrs, numPtrs); in dvmHeapSourceFreeList()
1174 mspace msp = hs->heaps[0].msp; in setSoftLimit() local
1175 size_t currentHeapSize = mspace_footprint(msp); in setSoftLimit()
1179 mspace_set_footprint_limit(msp, currentHeapSize); in setSoftLimit()
1185 mspace_set_footprint_limit(msp, softLimit); in setSoftLimit()
1370 mspace_trim(heap->msp, 0); in trimHeaps()
1373 mspace_inspect_all(heap->msp, releasePagesInRange, &heapBytes); in trimHeaps()
1400 mspace_inspect_all(hs->heaps[i-1].msp, callback, arg); in dvmHeapSourceWalk()