Searched defs:refs (Results 1 - 5 of 5) sorted by relevance
/dalvik/vm/alloc/ |
H A D | HeapTable.h | 27 HeapRefTable refs; member in struct:LargeHeapRefTable 30 bool dvmHeapInitHeapRefTable(HeapRefTable *refs, size_t nelems); 31 void dvmHeapFreeHeapRefTable(HeapRefTable *refs); 37 HeapRefTable *refs); 40 #define dvmHeapAddToHeapRefTable(refs, ptr) \ 41 dvmAddToReferenceTable((refs), (ptr)) 43 #define dvmHeapNumHeapRefTableEntries(refs) \ 45 const HeapRefTable *NHRTE_refs = (refs); \ 46 dvmReferenceTableEntries(refs); \ 49 #define dvmHeapRemoveFromHeapRefTable(refs, pt [all...] |
H A D | HeapTable.c | 40 #define heapRefTableIsFull(refs) \ 42 const HeapRefTable *HRTIF_refs = (refs); \ 43 dvmIsReferenceTableFull(refs); \ 46 bool dvmHeapInitHeapRefTable(HeapRefTable *refs, size_t nelems) argument 48 memset(refs, 0, sizeof(*refs)); 49 return dvmInitReferenceTable(refs, nelems, INT_MAX); 54 void dvmHeapFreeHeapRefTable(HeapRefTable *refs) argument 56 dvmClearReferenceTable(refs); 81 while (table != NULL && heapRefTableIsFull(&table->refs)) { 132 dvmHeapAddTableToLargeTable(LargeHeapRefTable **tableP, HeapRefTable *refs) argument 177 HeapRefTable *refs = &table->refs; local [all...] |
H A D | MarkSweep.c | 286 HeapRefTable *refs; local 314 LOG_SCAN("JNI global refs\n"); 329 LOG_SCAN("debugger refs\n"); 337 refs = &gcHeap->nonCollectableRefs; 338 op = refs->table; 339 while ((uintptr_t)op < (uintptr_t)refs->nextEntry) { 589 //TODO: Mark these after handling all new refs of 590 // this strength, in case the new refs refer 958 /* Create a table that the new pending refs will 962 //TODO: mark all finalizable refs an [all...] |
/dalvik/vm/ |
H A D | ReferenceTable.c | 215 Object** refs; local 228 refs = pRef->table; // use unsorted list 235 size = (refs[i] == NULL) ? 0 : dvmObjectSizeInHeap(refs[i]); 236 Object* ref = refs[i]; 240 (refs[i] == NULL) ? "-" : ref->clazz->descriptor, 247 (refs[i] == NULL) ? "-" : ref->clazz->descriptor, size); 257 refs = tableCopy; // use sorted list 267 size = (refs[i-1] == NULL) ? 0 : dvmObjectSizeInHeap(refs[ [all...] |
H A D | IndirectRefTable.c | 409 Object** refs; local 423 refs = pRef->table; // use unsorted list 430 if (refs[i] == NULL) 432 size = dvmObjectSizeInHeap(refs[i]); 433 Object* ref = refs[i]; 437 (refs[i] == NULL) ? "-" : ref->clazz->descriptor, 441 (refs[i] == NULL) ? "-" : ref->clazz->descriptor, size); 453 refs = tableCopy; // use sorted list 458 LOGI("%d %p\n", q, refs[q]); 462 while (refs[coun [all...] |
Completed in 87 milliseconds