Home | History | Annotate | Download | only in alloc

Lines Matching refs:heapSource

25 #include "alloc/HeapSource.h"
58 assert(gDvm.gcHeap->heapSource != NULL); \
59 assert(gHs == gDvm.gcHeap->heapSource); \
77 Heap.c will use HeapSource.h; HeapSource.c will do the right thing
142 struct HeapSource {
186 /* True if zygote mode was active when the HeapSource was created.
226 softLimited(const HeapSource *hs)
242 getAllocLimit(const HeapSource *hs)
256 oldHeapOverhead(const HeapSource *hs, bool includeActive)
278 ptr2heap(const HeapSource *hs, const void *ptr)
297 * Functions to update heapSource->bytesAllocated when an object
306 HeapSource *hs;
314 hs = gDvm.gcHeap->heapSource;
323 HeapSource *hs;
333 hs = gDvm.gcHeap->heapSource;
341 static HeapSource *gHs = NULL;
377 addNewHeap(HeapSource *hs, mspace msp, size_t mspAbsoluteMaxSize)
487 HeapSource *hs;
560 gcHeap->heapSource = hs;
588 HeapSource *hs = gHs; // use a local to avoid the implicit "volatile"
620 if (*gcHeap != NULL && (*gcHeap)->heapSource != NULL) {
621 HeapSource *hs;
623 hs = (*gcHeap)->heapSource;
638 * Gets the begining of the allocation for the HeapSource.
655 HeapSource *hs = gHs;
721 * bits of each heap. The bits are aliased to the heapsource
728 HeapSource *hs = gHs;
816 HeapSource *hs = gHs;
860 heapAllocAndGrow(HeapSource *hs, Heap *heap, size_t n)
894 HeapSource *hs = gHs;
1058 HeapSource *hs = gHs;
1124 HeapSource *hs = gHs;
1144 HeapSource *hs = gHs;
1156 setSoftLimit(HeapSource *hs, size_t softLimit)
1186 HeapSource *hs = gHs;
1188 HeapSource oldHs = *hs;
1246 HeapSource *hs = gHs;
1259 HeapSource *hs = gHs;
1286 HeapSource *hs = gHs;
1360 HeapSource *hs = gHs;
1470 HeapSource *hs = gHs;
1514 HeapSource *hs = gHs;
1536 HeapSource *hs = gHs;
1557 static bool externalBytesAvailable(const HeapSource *hs, size_t numBytes)
1595 externalAlloc(HeapSource *hs, size_t n, bool grow)
1651 static bool externalAllocPossible(const HeapSource *hs, size_t n)
1707 HeapSource *hs = gHs;
1805 HeapSource *hs = gHs;
1869 const HeapSource *hs = gHs;