Searched refs:bitmap (Results 1 – 10 of 10) sorted by relevance
/dalvik/vm/alloc/ |
D | HeapBitmap.cpp | 97 void dvmHeapBitmapWalk(const HeapBitmap *bitmap, BitmapCallback *callback, in dvmHeapBitmapWalk() argument 100 assert(bitmap != NULL); in dvmHeapBitmapWalk() 101 assert(bitmap->bits != NULL); in dvmHeapBitmapWalk() 103 uintptr_t end = HB_OFFSET_TO_INDEX(bitmap->max - bitmap->base); in dvmHeapBitmapWalk() 105 unsigned long word = bitmap->bits[i]; in dvmHeapBitmapWalk() 108 uintptr_t ptrBase = HB_INDEX_TO_OFFSET(i) + bitmap->base; in dvmHeapBitmapWalk() 131 void dvmHeapBitmapScanWalk(HeapBitmap *bitmap, in dvmHeapBitmapScanWalk() argument 134 assert(bitmap != NULL); in dvmHeapBitmapScanWalk() 135 assert(bitmap->bits != NULL); in dvmHeapBitmapScanWalk() 137 uintptr_t end = HB_OFFSET_TO_INDEX(bitmap->max - bitmap->base); in dvmHeapBitmapScanWalk() [all …]
|
D | Verify.cpp | 72 HeapBitmap *bitmap = dvmHeapSourceGetLiveBits(); in dumpReferences() local 75 dvmHeapBitmapWalk(bitmap, dumpReferencesCallback, arg); in dumpReferences() 130 void dvmVerifyBitmap(const HeapBitmap *bitmap) in dvmVerifyBitmap() argument 132 dvmHeapBitmapWalk(bitmap, verifyBitmapCallback, NULL); in dvmVerifyBitmap()
|
D | HeapBitmap.h | 108 void dvmHeapBitmapWalk(const HeapBitmap *bitmap, 115 void dvmHeapBitmapScanWalk(HeapBitmap *bitmap,
|
D | Verify.h | 29 void dvmVerifyBitmap(const HeapBitmap *bitmap);
|
D | Alloc.cpp | 340 HeapBitmap *bitmap = dvmHeapSourceGetLiveBits(); in dvmCountInstancesOfClass() local 341 dvmHeapBitmapWalk(bitmap, countInstancesOfClassCallback, &ctx); in dvmCountInstancesOfClass() 359 HeapBitmap *bitmap = dvmHeapSourceGetLiveBits(); in dvmCountAssignableInstancesOfClass() local 360 dvmHeapBitmapWalk(bitmap, countAssignableInstancesOfClassCallback, &ctx); in dvmCountAssignableInstancesOfClass()
|
D | MarkSweep.h | 43 HeapBitmap *bitmap; member
|
D | CardTable.cpp | 299 HeapBitmap *bitmap = dvmHeapSourceGetLiveBits(); in dumpReferences() local 302 dvmHeapBitmapWalk(bitmap, dumpReferencesCallback, arg); in dumpReferences() 392 HeapBitmap *markBits = gDvm.gcHeap->markContext.bitmap; in dvmVerifyCardTable()
|
D | Copying.cpp | 147 static size_t sumHeapBitmap(const HeapBitmap *bitmap); 674 HeapBitmap *bitmap; in dvmHeapSourceContains() local 677 bitmap = &heapSource->allocBits; in dvmHeapSourceContains() 678 if (!dvmHeapBitmapCoversAddress(bitmap, addr)) { in dvmHeapSourceContains() 681 return dvmHeapBitmapIsObjectBitSet(bitmap, addr); in dvmHeapSourceContains() 829 static size_t sumHeapBitmap(const HeapBitmap *bitmap) in sumHeapBitmap() argument 832 for (size_t i = 0; i < bitmap->bitsLen >> 2; ++i) { in sumHeapBitmap() 833 sum += CLZ(bitmap->bits[i]); in sumHeapBitmap()
|
D | MarkSweep.cpp | 37 return dvmHeapBitmapIsObjectBitSet(ctx->bitmap, obj); in isMarked() 103 return dvmHeapBitmapSetAndReturnObjectBit(ctx->bitmap, obj); in setAndReturnMarkBit() 523 const HeapBitmap *markBits = ctx->bitmap; in scanDirtyCards() 605 dvmHeapBitmapScanWalk(ctx->bitmap, scanBitmapCallback, ctx); in dvmHeapScanMarkedObjects()
|
D | HeapSource.cpp | 686 gcHeap->markContext.bitmap = &hs->markBits; in dvmHeapSourceStartup()
|