Home | History | Annotate | Download | only in alloc

Lines Matching full:card

26  * Maintain a card table from the the write barrier. All writes of
31 * determined by GC_CARD_SHIFT. The card table contains one byte of
32 * data per card, to be used by the GC. The value of the byte will be
36 * code is obliged to mark the card dirty. The setters in
40 * The card table's base [the "biased card table"] gets set to a
42 * fabricate or load GC_DIRTY_CARD to store into the card table,
48 * Initializes the card table; must be called before any other
64 /* Set up the card table */
68 "dalvik-card-table");
102 * allocated physical pages. On the other hand, if we un-map the card
120 * can round up to the end of the card table page to reduce this.)
137 // zero out cards with madvise(), discarding all pages in the card table
153 * Returns true iff the address is within the bounds of the card table.
164 * Returns the address of the relevant byte in the card table, given
176 * Returns the first address in the heap which maps to this card.
186 * Dirties the card for the given address.
195 * Returns true if the object is on a dirty card.
201 u1 *card = dvmCardFromAddr(obj);
202 return *card == GC_CARD_DIRTY;
206 * Context structure for verifying the card table.
357 * an unmarked card an error is logged and the VM is aborted. Card
361 * gray and on an unmarked card.
379 ALOGE("Verify failed, object %p is gray and on an unmarked card", obj);
388 * Verifies that gray objects are on a dirty card.