Get rid of the ugly macros inside the bitmap sweep routine.
Thanks to recent simplifications the implementation macrology can be
expanded out. While we are here, fix the comments about the treatment
of max. This edit should have happened in the previous change to the
sweeper.
Change-Id: Ia18ee580f5955dca8c27b96f7badbfb067a0a1cb
diff --git a/vm/alloc/HeapBitmap.h b/vm/alloc/HeapBitmap.h
index bb09020..7995f19 100644
--- a/vm/alloc/HeapBitmap.h
+++ b/vm/alloc/HeapBitmap.h
@@ -178,8 +178,7 @@
* object pointers that correspond to garbage objects. Call
* <callback> zero or more times with lists of these object pointers.
*
- * The callback is permitted to increase the bitmap's max; the walk
- * will use the updated max as a terminating condition.
+ * The callback is not permitted to increase the max of either bitmap.
*/
void dvmHeapBitmapSweepWalk(const HeapBitmap *liveHb, const HeapBitmap *markHb,
BitmapSweepCallback *callback, void *callbackArg);