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

/dalvik/vm/alloc/
H A DVerify.h26 * Verifies the object references in a heap bitmap. Assumes the VM is
29 void dvmVerifyBitmap(const HeapBitmap *bitmap);
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 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 DMarkSweep.h43 HeapBitmap *bitmap; member in struct:GcMarkContext
H A DHeapBitmap.h45 /* The bitmap data, which points to an mmap()ed area of zeroed
51 * value changes when the bitmap is shrunk.
62 * the bitmap.
81 * Initialize a HeapBitmap so that it points to a bitmap large
89 * Clean up any resources associated with the bitmap.
94 * Fill the bitmap with zeroes. Returns the bitmap's memory to
100 * Returns true if the address range of the bitmap covers the object
106 * Applies the callback function to each set address in the bitmap.
108 void dvmHeapBitmapWalk(const HeapBitmap *bitmap,
[all...]
H A DAlloc.cpp326 HeapBitmap *bitmap = dvmHeapSourceGetLiveBits(); local
327 dvmHeapBitmapWalk(bitmap, countInstancesOfClassCallback, &ctx);
345 HeapBitmap *bitmap = dvmHeapSourceGetLiveBits(); local
346 dvmHeapBitmapWalk(bitmap, countAssignableInstancesOfClassCallback, &ctx);
H A DCardTable.cpp303 HeapBitmap *bitmap = dvmHeapSourceGetLiveBits(); local
306 dvmHeapBitmapWalk(bitmap, dumpReferencesCallback, arg);
396 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);
830 static size_t sumHeapBitmap(const HeapBitmap *bitmap)
833 for (size_t i = 0; i < bitmap->bitsLen >> 2; ++i) {
834 sum += CLZ(bitmap->bits[i]);
H A DMarkSweep.cpp37 return dvmHeapBitmapIsObjectBitSet(ctx->bitmap, obj);
103 return dvmHeapBitmapSetAndReturnObjectBit(ctx->bitmap, obj);
130 * the finger won't be visited by the bitmap scan, so those objects
523 const HeapBitmap *markBits = ctx->bitmap;
582 * Callback for scanning each object in the bitmap. The finger is set
584 * of bits in the bitmap.
606 dvmHeapBitmapScanWalk(ctx->bitmap, scanBitmapCallback, ctx);
H A DHeapSource.cpp159 * The live object bitmap.
164 * The mark bitmap.
566 if (!dvmHeapBitmapInit(&hs->liveBits, base, length, "dalvik-bitmap-1")) {
570 if (!dvmHeapBitmapInit(&hs->markBits, base, length, "dalvik-bitmap-2")) {
581 gcHeap->markContext.bitmap = &hs->markBits;
717 * Get the bitmap representing all live objects.
727 * Get the bitmap representing all marked objects.
768 /* Compute the number of words to copy in the bitmap. */
774 /* Compute the number of bytes of the live bitmap to copy. */

Completed in 100 milliseconds