Home | History | Annotate | Download | only in vm

Lines Matching refs:vmThread

335         dvmFindSystemClassNoInit("Ljava/lang/VMThread;");
352 "vmThread", "Ljava/lang/VMThread;");
382 LOGE("Unable to find all fields in java.lang.VMThread\n");
842 * Allocate and construct a VMThread.
846 LOGE("unable to allocate main vmthread object\n");
855 LOGE("exception thrown while constructing main vmthread object\n");
859 /* set the VMThread.vmData field to our Thread struct */
864 * Stuff the VMThread back into the Thread. From this point on, other
1384 * Thread vs. VMThread class decomposition we inherited. We've been given
1385 * a Thread, and now we need to create a VMThread and then populate both
1434 * vmThread object here.
1449 * "vmThread" field in java.lang.Thread, because we use that to determine
1464 * There are actually three data structures: Thread (object), VMThread
1468 * As soon as "VMThread.vmData" is assigned, other threads can start
1554 * it starts anywhere after VMThread.create() is called it will
2022 * Create Thread and VMThread objects.
2057 * We need to construct the Thread object and set the VMThread field.
2058 * Setting VMThread tells interpreted code that we're alive.
2074 * Set the VMThread field, which tells interpreted code that we're alive.
2080 * correctness we test "vmThread" before setting it.
2100 * [ This seems strange -- stepping on the vmThread object that's
2159 * associated Thread/VMThread objects get GCed. Our Thread is impossible to
2171 Object* vmThread;
2229 * Clear the vmThread reference in the Thread object. Interpreted code
2231 * only reference to the VMThread object that the VM knows about, we
2234 vmThread = dvmGetFieldObject(self->threadObj,
2236 dvmAddTrackedAlloc(vmThread, self);
2240 dvmSetFieldObject(vmThread, gDvm.offJavaLangVMThread_vmData, NULL);
2254 * Thread.join() is implemented as an Object.wait() on the VMThread
2257 dvmLockObject(self, vmThread);
2258 dvmObjectNotifyAll(self, vmThread);
2259 dvmUnlockObject(self, vmThread);
2261 dvmReleaseTrackedAlloc(vmThread, self);
2262 vmThread = NULL;
3215 * Given a VMThread object, return the associated Thread*.