Searched defs:bitmap (Results 1 - 6 of 6) sorted by relevance

/dalvik/vm/alloc/
H A DMarkSweep.h43 HeapBitmap *bitmap; member in struct:GcMarkContext
H A DVerify.cpp38 * Visitor applied to each bitmap element to search for things that
72 HeapBitmap *bitmap = dvmHeapSourceGetLiveBits(); local
75 dvmHeapBitmapWalk(bitmap, dumpReferencesCallback, arg);
119 * Helper function to call dvmVerifyObject from a bitmap walker.
127 * Verifies the object references in a heap bitmap. Assumes the VM is
130 void dvmVerifyBitmap(const HeapBitmap *bitmap) argument
132 dvmHeapBitmapWalk(bitmap, verifyBitmapCallback, NULL);
H A DHeapBitmap.cpp22 * Initialize a HeapBitmap so that it points to a bitmap large
48 * Clean up any resources associated with the bitmap.
61 * Fill the bitmap with zeroes. Returns the bitmap's memory to
79 * bitmap could potentially cover, even if a bit has not been set
95 * change the bitmap bits or max during the traversal.
97 void dvmHeapBitmapWalk(const HeapBitmap *bitmap, BitmapCallback *callback, argument
100 assert(bitmap != NULL);
101 assert(bitmap->bits != NULL);
103 uintptr_t end = HB_OFFSET_TO_INDEX(bitmap
131 dvmHeapBitmapScanWalk(HeapBitmap *bitmap, BitmapScanCallback *callback, void *arg) argument
[all...]
H A DAlloc.cpp340 HeapBitmap *bitmap = dvmHeapSourceGetLiveBits(); local
341 dvmHeapBitmapWalk(bitmap, countInstancesOfClassCallback, &ctx);
359 HeapBitmap *bitmap = dvmHeapSourceGetLiveBits(); local
360 dvmHeapBitmapWalk(bitmap, countAssignableInstancesOfClassCallback, &ctx);
H A DCardTable.cpp299 HeapBitmap *bitmap = dvmHeapSourceGetLiveBits(); local
302 dvmHeapBitmapWalk(bitmap, dumpReferencesCallback, arg);
392 HeapBitmap *markBits = gDvm.gcHeap->markContext.bitmap;
H A DCopying.cpp147 static size_t sumHeapBitmap(const HeapBitmap *bitmap);
559 * Performs a shallow copy of the allocation bitmap into the given
674 HeapBitmap *bitmap; local
677 bitmap = &heapSource->allocBits;
678 if (!dvmHeapBitmapCoversAddress(bitmap, addr)) {
681 return dvmHeapBitmapIsObjectBitSet(bitmap, addr);
829 static size_t sumHeapBitmap(const HeapBitmap *bitmap)
832 for (size_t i = 0; i < bitmap->bitsLen >> 2; ++i) {
833 sum += CLZ(bitmap->bits[i]);

Completed in 1736 milliseconds