Home | History | Annotate | Download | only in vm

Lines Matching defs:threadObj

294      * object monitors.  We'll set the "threadObj" field later.
551 if (!dvmGetFieldBoolean(target->threadObj,
685 Object* threadObj;
721 threadObj = dvmAllocObject(gDvm.classJavaLangThread, ALLOC_DEFAULT);
722 if (threadObj == NULL) {
726 dvmReleaseTrackedAlloc(threadObj, NULL);
736 dvmCallMethod(thread, init, threadObj, &unused, groupObj, threadNameStr,
755 dvmCallMethod(thread, init, vmThreadObj, &unused, threadObj);
770 dvmSetFieldObject(threadObj, gDvm.offJavaLangThread_vmThread,
773 thread->threadObj = threadObj;
788 dvmSetFieldObject(threadObj, gDvm.offJavaLangThread_contextClassLoader,
1230 * The "threadObj" reference must be pinned by the caller to prevent the GC
1233 bool dvmCreateInterpThread(Object* threadObj, int reqStackSize)
1235 assert(threadObj != NULL);
1266 newThread->threadObj = threadObj;
1279 if (dvmGetFieldObject(threadObj, gDvm.offJavaLangThread_vmThread) != NULL) {
1297 dvmSetFieldObject(threadObj, gDvm.offJavaLangThread_vmThread, vmThreadObj);
1317 dvmSetFieldObject(threadObj, gDvm.offJavaLangThread_vmThread, NULL);
1421 if (!dvmGetFieldBoolean(threadObj, gDvm.offJavaLangThread_daemon))
1527 int priority = dvmGetFieldInt(self->threadObj,
1537 Method* run = self->threadObj->clazz->vtable[gDvm.voffJavaLangThread_run];
1542 dvmCallMethod(self, run, self->threadObj, &unused);
1592 handlerObj = dvmGetFieldObject(self->threadObj,
1609 self->threadObj, exception);
1778 Object* threadObj = NULL;
1843 * for the lack of an initialized threadObj). We're then free to
1855 threadObj = dvmAllocObject(gDvm.classJavaLangThread, ALLOC_DEFAULT);
1857 if (threadObj == NULL || vmThreadObj == NULL)
1861 * This makes threadObj visible to the GC. We still have it in the
1864 self->threadObj = threadObj;
1897 dvmCallMethod(self, init, threadObj, &unused, (Object*)pArgs->group,
1918 if (dvmGetFieldObject(threadObj, gDvm.offJavaLangThread_vmThread) != NULL) {
1938 dvmSetFieldObject(threadObj, gDvm.offJavaLangThread_vmThread, vmThreadObj);
1941 dvmReleaseTrackedAlloc(threadObj, self);
1962 dvmReleaseTrackedAlloc(threadObj, self);
2033 group = dvmGetFieldObject(self->threadObj, gDvm.offJavaLangThread_group);
2056 dvmCallMethod(self, removeThread, group, &unused, self->threadObj);
2065 vmThread = dvmGetFieldObject(self->threadObj,
2068 dvmSetFieldObject(self->threadObj, gDvm.offJavaLangThread_vmThread, NULL);
2111 * could get wedged. Since self->threadObj is still valid, the Thread
2148 if (!dvmGetFieldBoolean(self->threadObj, gDvm.offJavaLangThread_daemon)) {
3319 Object* threadObj;
3334 * If threadObj is NULL, the thread is still in the process of being
3338 threadObj = thread->threadObj;
3339 if (threadObj == NULL) {
3340 ALOGI("Can't dump thread %d: threadObj not set", thread->threadId);
3343 dvmAddTrackedAlloc(threadObj, NULL);
3345 nameStr = (StringObject*) dvmGetFieldObject(threadObj,
3349 priority = dvmGetFieldInt(threadObj, gDvm.offJavaLangThread_priority);
3350 isDaemon = dvmGetFieldBoolean(threadObj, gDvm.offJavaLangThread_daemon);
3353 groupObj = (Object*) dvmGetFieldObject(threadObj,
3379 thread->threadObj, thread);
3398 dvmReleaseTrackedAlloc(threadObj, NULL);
3404 if (thread->threadObj == NULL) {
3405 ALOGW("threadObj is NULL, name not available");
3410 dvmGetFieldObject(thread->threadObj, gDvm.offJavaLangThread_name);