Lines Matching refs:HeapSource
33 static size_t getMaximumSize(const HeapSource *hs);
101 struct HeapSource { struct
195 static bool isSoftLimited(const HeapSource *hs) in isSoftLimited() argument
210 static size_t getAllocLimit(const HeapSource *hs) in getAllocLimit()
223 static size_t oldHeapOverhead(const HeapSource *hs, bool includeActive) in oldHeapOverhead()
244 static Heap *ptr2heap(const HeapSource *hs, const void *ptr) in ptr2heap()
275 HeapSource* hs = gDvm.gcHeap->heapSource; in countAllocation()
290 HeapSource* hs = gDvm.gcHeap->heapSource; in countFree()
298 static HeapSource *gHs = NULL;
362 static bool addInitialHeap(HeapSource *hs, mspace msp, size_t maximumSize) in addInitialHeap()
383 static bool addNewHeap(HeapSource *hs) in addNewHeap()
545 HeapSource *hs; in dvmHeapSourceStartup()
582 hs = (HeapSource *)calloc(1, sizeof(*hs)); in dvmHeapSourceStartup()
656 HeapSource *hs = gHs; // use a local to avoid the implicit "volatile" in dvmHeapSourceStartupBeforeFork()
692 HeapSource *hs = (*gcHeap)->heapSource; in dvmHeapSourceShutdown()
718 HeapSource *hs = gHs; in dvmHeapSourceGetLimit()
740 HeapSource *hs = gHs; in dvmHeapSourceGetValue()
778 HeapSource *hs = gHs; in dvmHeapSourceGetRegions()
867 HeapSource *hs = gHs; in dvmHeapSourceAlloc()
906 static void* heapAllocAndGrow(HeapSource *hs, Heap *heap, size_t n) in heapAllocAndGrow()
932 HeapSource *hs = gHs; in dvmHeapSourceAllocAndGrow()
1044 HeapSource *hs = gHs; in dvmIsZygoteObject()
1092 static size_t getMaximumSize(const HeapSource *hs) in getMaximumSize()
1134 HeapSource *hs = gHs; in getSoftFootprint()
1149 HeapSource *hs = gHs; in dvmHeapSourceGetIdealFootprint()
1160 static void setSoftLimit(HeapSource *hs, size_t softLimit) in setSoftLimit()
1191 HeapSource *hs = gHs; in setIdealFootprint()
1231 HeapSource *hs = gHs; in dvmGetTargetHeapUtilization()
1244 HeapSource *hs = gHs; in dvmSetTargetHeapUtilization()
1267 static size_t getUtilizationTarget(const HeapSource* hs, size_t liveSize) in getUtilizationTarget()
1294 HeapSource *hs = gHs; in dvmHeapSourceGrowForUtilization()
1356 HeapSource *hs = gHs; in trimHeaps()
1390 HeapSource *hs = gHs; in dvmHeapSourceWalk()