Lines Matching refs:vmThreadObj
682 Object* vmThreadObj; in dvmPrepMainThread() local
742 vmThreadObj = dvmAllocObject(gDvm.classJavaLangVMThread, ALLOC_DEFAULT); in dvmPrepMainThread()
743 if (vmThreadObj == NULL) { in dvmPrepMainThread()
747 dvmReleaseTrackedAlloc(vmThreadObj, NULL); in dvmPrepMainThread()
751 dvmCallMethod(thread, init, vmThreadObj, &unused, threadObj); in dvmPrepMainThread()
759 dvmSetFieldInt(vmThreadObj, gDvm.offJavaLangVMThread_vmData, (u4)thread); in dvmPrepMainThread()
767 vmThreadObj); in dvmPrepMainThread()
1251 Object* vmThreadObj = dvmAllocObject(gDvm.classJavaLangVMThread, ALLOC_DEFAULT); in dvmCreateInterpThread() local
1252 if (vmThreadObj == NULL) in dvmCreateInterpThread()
1257 dvmReleaseTrackedAlloc(vmThreadObj, NULL); in dvmCreateInterpThread()
1279 dvmReleaseTrackedAlloc(vmThreadObj, NULL); in dvmCreateInterpThread()
1290 dvmSetFieldInt(vmThreadObj, gDvm.offJavaLangVMThread_vmData, (u4)newThread); in dvmCreateInterpThread()
1291 dvmSetFieldObject(threadObj, gDvm.offJavaLangThread_vmThread, vmThreadObj); in dvmCreateInterpThread()
1440 dvmReleaseTrackedAlloc(vmThreadObj, NULL); in dvmCreateInterpThread()
1445 dvmReleaseTrackedAlloc(vmThreadObj, NULL); in dvmCreateInterpThread()
1772 Object* vmThreadObj = NULL; in dvmAttachCurrentThread() local
1849 vmThreadObj = dvmAllocObject(gDvm.classJavaLangVMThread, ALLOC_DEFAULT); in dvmAttachCurrentThread()
1850 if (threadObj == NULL || vmThreadObj == NULL) in dvmAttachCurrentThread()
1858 dvmSetFieldInt(vmThreadObj, gDvm.offJavaLangVMThread_vmData, (u4)self); in dvmAttachCurrentThread()
1931 dvmSetFieldObject(threadObj, gDvm.offJavaLangThread_vmThread, vmThreadObj); in dvmAttachCurrentThread()
1935 dvmReleaseTrackedAlloc(vmThreadObj, self); in dvmAttachCurrentThread()
1956 dvmReleaseTrackedAlloc(vmThreadObj, self); in dvmAttachCurrentThread()
3020 Thread* dvmGetThreadFromThreadObject(Object* vmThreadObj) in dvmGetThreadFromThreadObject() argument
3024 vmData = dvmGetFieldInt(vmThreadObj, gDvm.offJavaLangVMThread_vmData); in dvmGetThreadFromThreadObject()
3037 vmThreadObj, (Thread*)vmData); in dvmGetThreadFromThreadObject()