Home | History | Annotate | Download | only in alloc

Lines Matching refs:msp

65     mspace msp;
225 return mspace_footprint_limit(hs2heap(hs)->msp);
245 footprint += mspace_footprint(hs->heaps[i].msp);
280 assert(heap->bytesAllocated < mspace_footprint(heap->msp));
288 assert(heap->bytesAllocated < mspace_footprint(heap->msp));
319 mspace msp = create_mspace_with_base(begin, morecoreStart, false /*locked*/);
320 if (msp != NULL) {
322 mspace_set_footprint_limit(msp, startingSize);
326 return msp;
336 if (gHs->heaps[i].msp == mspace) {
372 static bool addInitialHeap(HeapSource *hs, mspace msp, size_t maximumSize)
375 assert(msp != NULL);
379 hs->heaps[0].msp = msp;
460 heap.msp = createMspace(base, morecoreStart, hs->minFree);
461 if (heap.msp == NULL) {
469 mspace_set_footprint_limit(hs->heaps[0].msp, overhead);
597 mspace msp;
622 msp = createMspace(base, kInitialMorecoreStart, startSize);
623 if (msp == NULL) {
667 if (!addInitialHeap(hs, msp, growthLimit)) {
808 assert(value == mspace_footprint(heap->msp));
811 value = mspace_footprint_limit(heap->msp);
941 ptr = mspace_malloc(heap->msp, n);
966 ptr = mspace_calloc(heap->msp, 1, n);
1003 mspace_set_footprint_limit(heap->msp, max);
1009 mspace_set_footprint_limit(heap->msp,
1010 mspace_footprint(heap->msp));
1083 mspace msp = heap->msp;
1096 msp, ptrs, numPtrs);
1256 mspace msp = hs->heaps[0].msp;
1257 size_t currentHeapSize = mspace_footprint(msp);
1261 mspace_set_footprint_limit(msp, currentHeapSize);
1267 mspace_set_footprint_limit(msp, softLimit);
1457 mspace_trim(heap->msp, 0);
1460 mspace_inspect_all(heap->msp, releasePagesInRange, &heapBytes);
1487 mspace_inspect_all(hs->heaps[i-1].msp, callback, arg);