Home | History | Annotate | Download | only in alloc

Lines Matching refs:Thread

57  * The block queue exists to thread lists of blocks from the various
1516 /* This code was copied from Thread.c */
1517 static void scavengeThreadStack(Thread *thread)
1524 framePtr = (const u4 *)thread->interpSave.curFrame;
1561 * for interp method #1, but thread->currentPc2 is still
1577 if (saveArea->xtra.currentPc != thread->currentPc2) {
1579 saveArea->xtra.currentPc, thread->currentPc2,
1583 if (thread->currentPc2 != NULL)
1584 LOGE(" pc2 inst = 0x%04x", *thread->currentPc2);
1585 dvmDumpThread(thread, false);
1623 thread->threadId);
1715 static void scavengeThread(Thread *thread)
1717 // LOG_SCAV("scavengeThread(thread=%p)", thread);
1719 // LOG_SCAV("Scavenging threadObj=%p", thread->threadObj);
1720 scavengeReference(&thread->threadObj);
1722 // LOG_SCAV("Scavenging exception=%p", thread->exception);
1723 scavengeReference(&thread->exception);
1725 scavengeThreadStack(thread);
1730 Thread *thread;
1733 thread = gDvm.threadList;
1734 while (thread) {
1735 scavengeThread(thread);
1736 thread = thread->next;
1741 static void pinThreadStack(const Thread *thread)
1750 framePtr = (const u4 *)thread->interpSave.curFrame;
1842 static void pinThread(const Thread *thread)
1844 assert(thread != NULL);
1845 LOG_PIN("pinThread(thread=%p)", thread);
1848 pinThreadStack(thread);
1851 pinReferenceTable(&thread->internalLocalRefTable);
1854 pinReferenceTable(&thread->jniLocalRefTable);
1857 if (thread->jniMonitorRefTable.table) {
1859 pinReferenceTable(&thread->jniMonitorRefTable);
1865 Thread *thread;
1868 thread = gDvm.threadList;
1869 while (thread) {
1870 pinThread(thread);
1871 thread = thread->next;