Home
last modified time | relevance | path

Searched refs:bitmap (Results 1 – 10 of 10) sorted by relevance

/dalvik/vm/alloc/
DHeapBitmap.cpp97 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 …]
DVerify.cpp72 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()
DHeapBitmap.h108 void dvmHeapBitmapWalk(const HeapBitmap *bitmap,
115 void dvmHeapBitmapScanWalk(HeapBitmap *bitmap,
DVerify.h29 void dvmVerifyBitmap(const HeapBitmap *bitmap);
DAlloc.cpp340 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()
DMarkSweep.h43 HeapBitmap *bitmap; member
DCardTable.cpp299 HeapBitmap *bitmap = dvmHeapSourceGetLiveBits(); in dumpReferences() local
302 dvmHeapBitmapWalk(bitmap, dumpReferencesCallback, arg); in dumpReferences()
392 HeapBitmap *markBits = gDvm.gcHeap->markContext.bitmap; in dvmVerifyCardTable()
DCopying.cpp147 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()
DMarkSweep.cpp37 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()
DHeapSource.cpp686 gcHeap->markContext.bitmap = &hs->markBits; in dvmHeapSourceStartup()