Searched refs:heap (Results 1 – 6 of 6) sorted by relevance
43 Heap heap = mHeaps.get(id); in setHeapTo() local45 if (heap == null) { in setHeapTo()46 heap = new Heap(name); in setHeapTo()47 heap.mState = this; in setHeapTo()48 mHeaps.put(id, heap); in setHeapTo()51 mCurrentHeap = heap; in setHeapTo()61 for (Heap heap: mHeaps.values()) { in getHeap()62 if (heap.mName.equals(name)) { in getHeap()63 return heap; in getHeap()112 for (Heap heap: mHeaps.values()) { in findReference()[all …]
89 public void setHeap(Heap heap) { in setHeap() argument90 mHeap = heap; in setHeap()
78 for (Heap heap: state.mHeaps.values()) { in classes()79 classes.addAll(heap.mClassesById.values()); in classes()202 for (Heap heap: state.mHeaps.values()) { in getRoots()203 result.addAll(heap.mRoots); in getRoots()
250 const Heap *const heap = &hs->heaps[i]; in ptr2heap() local252 if ((const char *)ptr >= heap->base && (const char *)ptr < heap->limit) { in ptr2heap()253 return (Heap *)heap; in ptr2heap()268 static void countAllocation(Heap *heap, const void *ptr) in countAllocation() argument270 assert(heap->bytesAllocated < mspace_footprint(heap->msp)); in countAllocation()272 heap->bytesAllocated += mspace_usable_size(ptr) + in countAllocation()274 heap->objectsAllocated++; in countAllocation()278 assert(heap->bytesAllocated < mspace_footprint(heap->msp)); in countAllocation()281 static void countFree(Heap *heap, const void *ptr, size_t *numBytes) in countFree() argument285 if (delta < heap->bytesAllocated) { in countFree()[all …]
33 OUT_FILE=heap-dump.hprof
50 REM By default, give dx a max heap size of 1 gig and a stack size of 1meg.