Home
last modified time | relevance | path

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

/dalvik/vm/alloc/
DHeapTable.h27 HeapRefTable refs; member
30 bool dvmHeapInitHeapRefTable(HeapRefTable *refs, size_t nelems);
31 void dvmHeapFreeHeapRefTable(HeapRefTable *refs);
37 HeapRefTable *refs);
40 #define dvmHeapAddToHeapRefTable(refs, ptr) \ argument
41 dvmAddToReferenceTable((refs), (ptr))
43 #define dvmHeapNumHeapRefTableEntries(refs) \ argument
45 const HeapRefTable *NHRTE_refs = (refs); \
46 dvmReferenceTableEntries(refs); \
49 #define dvmHeapRemoveFromHeapRefTable(refs, ptr) \ argument
[all …]
DHeapTable.c40 #define heapRefTableIsFull(refs) \ argument
42 const HeapRefTable *HRTIF_refs = (refs); \
43 dvmIsReferenceTableFull(refs); \
46 bool dvmHeapInitHeapRefTable(HeapRefTable *refs, size_t nelems) in dvmHeapInitHeapRefTable() argument
48 memset(refs, 0, sizeof(*refs)); in dvmHeapInitHeapRefTable()
49 return dvmInitReferenceTable(refs, nelems, INT_MAX); in dvmHeapInitHeapRefTable()
54 void dvmHeapFreeHeapRefTable(HeapRefTable *refs) in dvmHeapFreeHeapRefTable() argument
56 dvmClearReferenceTable(refs); in dvmHeapFreeHeapRefTable()
81 while (table != NULL && heapRefTableIsFull(&table->refs)) { in dvmHeapAddRefToLargeTable()
110 if (!dvmHeapInitHeapRefTable(&table->refs, kLargeHeapRefTableNElems)) { in dvmHeapAddRefToLargeTable()
[all …]
DMarkSweep.c315 HeapRefTable *refs; in dvmHeapMarkRootSet() local
366 refs = &gcHeap->nonCollectableRefs; in dvmHeapMarkRootSet()
367 op = refs->table; in dvmHeapMarkRootSet()
368 while ((uintptr_t)op < (uintptr_t)refs->nextEntry) { in dvmHeapMarkRootSet()
1038 gapRef = ref = finRefs->refs.table; in dvmHeapScheduleFinalizations()
1039 lastRef = finRefs->refs.nextEntry; in dvmHeapScheduleFinalizations()
1069 finRefs->refs.nextEntry = gapRef; in dvmHeapScheduleFinalizations()
/dalvik/vm/
DReferenceTable.c207 Object** refs; in dvmDumpReferenceTable() local
220 refs = pRef->table; // use unsorted list in dvmDumpReferenceTable()
227 size = (refs[i] == NULL) ? 0 : dvmObjectSizeInHeap(refs[i]); in dvmDumpReferenceTable()
228 Object* ref = refs[i]; in dvmDumpReferenceTable()
232 (refs[i] == NULL) ? "-" : ref->clazz->descriptor, in dvmDumpReferenceTable()
236 (refs[i] == NULL) ? "-" : ref->clazz->descriptor, size); in dvmDumpReferenceTable()
246 refs = tableCopy; // use sorted list in dvmDumpReferenceTable()
256 size = (refs[i-1] == NULL) ? 0 : dvmObjectSizeInHeap(refs[i-1]); in dvmDumpReferenceTable()
258 if (refs[i] == refs[i-1]) { in dvmDumpReferenceTable()
261 } else if (refs[i]->clazz == refs[i-1]->clazz && in dvmDumpReferenceTable()
[all …]
/dalvik/vm/mterp/armv5te/
DOP_NEW_ARRAY.S52 mov r2, #ALLOC_DONT_TRACK @ don't track in local refs table