Home
last modified time | relevance | path

Searched refs:HB_OBJECT_ALIGNMENT (Results 1 – 4 of 4) sorted by relevance

/dalvik/vm/alloc/TEST/HeapBitmapTest/
Dmain.c90 HEAP_BASE + HB_OBJECT_ALIGNMENT)); in assert_empty()
92 HEAP_BASE + HEAP_SIZE - HB_OBJECT_ALIGNMENT)); in assert_empty()
99 HEAP_BASE + HB_OBJECT_ALIGNMENT)); in assert_empty()
101 HEAP_BASE + HEAP_SIZE - HB_OBJECT_ALIGNMENT)); in assert_empty()
121 HEAP_BASE + HB_OBJECT_ALIGNMENT)); in test_bits()
123 HEAP_BASE + HEAP_SIZE - HB_OBJECT_ALIGNMENT)); in test_bits()
130 HEAP_BASE + HB_OBJECT_ALIGNMENT)); in test_bits()
132 HEAP_BASE + HEAP_SIZE - HB_OBJECT_ALIGNMENT)); in test_bits()
136 dvmHeapBitmapSetObjectBit(&hb, HEAP_BASE + HEAP_SIZE - HB_OBJECT_ALIGNMENT); in test_bits()
140 HEAP_BASE + HB_OBJECT_ALIGNMENT)); in test_bits()
[all …]
/dalvik/vm/alloc/
DHeapBitmap.h22 #define HB_OBJECT_ALIGNMENT 8 macro
30 ((uintptr_t)(offset_) / HB_OBJECT_ALIGNMENT / HB_BITS_PER_WORD)
32 ((uintptr_t)(index_) * HB_OBJECT_ALIGNMENT * HB_BITS_PER_WORD)
42 (31-(((uintptr_t)(offset_) / HB_OBJECT_ALIGNMENT) % HB_BITS_PER_WORD)))
DHeapBitmap.cpp111 Object* obj = (Object *)(ptrBase + shift * HB_OBJECT_ALIGNMENT); in dvmHeapBitmapWalk()
147 Object *obj = (Object *)(ptrBase + shift * HB_OBJECT_ALIGNMENT); in dvmHeapBitmapScanWalk()
196 *pb++ = (void *)(ptrBase + shift * HB_OBJECT_ALIGNMENT); in dvmHeapBitmapSweepWalk()
DMarkSweep.cpp507 for (ptr = base; ptr < limit; ptr += HB_OBJECT_ALIGNMENT) { in nextGrayObject()
537 ptr = (u1*)obj + ALIGN_UP(objectSize(obj), HB_OBJECT_ALIGNMENT); in scanDirtyCards()