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,
1229 * The "threadObj" reference must be pinned by the caller to prevent the GC
1232 bool dvmCreateInterpThread(Object* threadObj, int reqStackSize)
1234 assert(threadObj != NULL);
1265 newThread->threadObj = threadObj;
1278 if (dvmGetFieldObject(threadObj, gDvm.offJavaLangThread_vmThread) != NULL) {
1295 dvmSetFieldObject(threadObj, gDvm.offJavaLangThread_vmThread, vmThreadObj);
1316 dvmSetFieldObject(threadObj, gDvm.offJavaLangThread_vmThread, NULL);
1417 if (!dvmGetFieldBoolean(threadObj, gDvm.offJavaLangThread_daemon))
1523 int priority = dvmGetFieldInt(self->threadObj,
1533 Method* run = self->threadObj->clazz->vtable[gDvm.voffJavaLangThread_run];
1538 dvmCallMethod(self, run, self->threadObj, &unused);
1588 handlerObj = dvmGetFieldObject(self->threadObj,
1605 self->threadObj, exception);
1775 Object* threadObj = NULL;
1840 * for the lack of an initialized threadObj). We're then free to
1852 threadObj = dvmAllocObject(gDvm.classJavaLangThread, ALLOC_DEFAULT);
1854 if (threadObj == NULL || vmThreadObj == NULL)
1858 * This makes threadObj visible to the GC. We still have it in the
1861 self->threadObj = threadObj;
1894 dvmCallMethod(self, init, threadObj, &unused, (Object*)pArgs->group,
1915 if (dvmGetFieldObject(threadObj, gDvm.offJavaLangThread_vmThread) != NULL) {
1935 dvmSetFieldObject(threadObj, gDvm.offJavaLangThread_vmThread, vmThreadObj);
1938 dvmReleaseTrackedAlloc(threadObj, self);
1959 dvmReleaseTrackedAlloc(threadObj, self);
2030 group = dvmGetFieldObject(self->threadObj, gDvm.offJavaLangThread_group);
2053 dvmCallMethod(self, removeThread, group, &unused, self->threadObj);
2062 vmThread = dvmGetFieldObject(self->threadObj,
2065 dvmSetFieldObject(self->threadObj, gDvm.offJavaLangThread_vmThread, NULL);
2108 * could get wedged. Since self->threadObj is still valid, the Thread
2145 if (!dvmGetFieldBoolean(self->threadObj, gDvm.offJavaLangThread_daemon)) {
3279 Object* threadObj;
3294 * If threadObj is NULL, the thread is still in the process of being
3298 threadObj = thread->threadObj;
3299 if (threadObj == NULL) {
3300 ALOGI("Can't dump thread %d: threadObj not set", thread->threadId);
3303 dvmAddTrackedAlloc(threadObj, NULL);
3305 nameStr = (StringObject*) dvmGetFieldObject(threadObj,
3309 priority = dvmGetFieldInt(threadObj, gDvm.offJavaLangThread_priority);
3310 isDaemon = dvmGetFieldBoolean(threadObj, gDvm.offJavaLangThread_daemon);
3313 groupObj = (Object*) dvmGetFieldObject(threadObj,
3339 thread->threadObj, thread);
3367 dvmReleaseTrackedAlloc(threadObj, NULL);
3373 if (thread->threadObj == NULL) {
3374 ALOGW("threadObj is NULL, name not available");
3379 dvmGetFieldObject(thread->threadObj, gDvm.offJavaLangThread_name);