Home
last modified time | relevance | path

Searched refs:heap (Results 1 – 6 of 6) sorted by relevance

/dalvik/hit/src/com/android/hit/
DState.java43 Heap heap = mHeaps.get(id); in setHeapTo() local
45 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 …]
DInstance.java89 public void setHeap(Heap heap) { in setHeap() argument
90 mHeap = heap; in setHeap()
DQueries.java78 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()
/dalvik/vm/alloc/
DHeapSource.cpp250 const Heap *const heap = &hs->heaps[i]; in ptr2heap() local
252 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() argument
270 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() argument
285 if (delta < heap->bytesAllocated) { in countFree()
[all …]
/dalvik/tools/
Dget-hprof33 OUT_FILE=heap-dump.hprof
/dalvik/dx/etc/
Ddx.bat50 REM By default, give dx a max heap size of 1 gig and a stack size of 1meg.