Home | History | Annotate | Download | only in vm

Lines Matching full:self

100     Thread* self);
265 Thread* self = dvmThreadSelf();
289 if (dvmCheckException(self))
305 if (!initException(exception, msg, cause, self)) {
311 if (!dvmCheckException(self)) {
316 self->exception = gDvm.internalErrorObj;
322 self->exception = exception;
325 dvmReleaseTrackedAlloc(exception, self);
398 * "self" is dvmThreadSelf(), passed in so we don't have to look it up again.
402 * and leave self->exception intact.
405 Thread* self)
420 assert(self != NULL);
421 assert(self->exception == NULL);
543 dvmCallMethod(self, initMethod, exception, &unused);
547 dvmCallMethod(self, initMethod, exception, &unused, msgStr);
552 dvmCallMethod(self, initMethod, exception, &unused, cause);
557 dvmCallMethod(self, initMethod, exception, &unused, msgStr, cause);
568 if (self->exception != NULL) {
570 self->exception->clazz->descriptor, exception->clazz->descriptor);
584 dvmCallMethod(self, initCause, exception, &unused, cause);
585 if (self->exception != NULL) {
591 self->exception->clazz->descriptor,
605 dvmReleaseTrackedAlloc((Object*) msgStr, self); // NULL is ok
620 void dvmClearOptException(Thread* self)
622 self->exception = NULL;
651 Thread* self = dvmThreadSelf();
655 origExcep = dvmGetException(self);
656 dvmAddTrackedAlloc(origExcep, self); // don't let the GC free it
658 dvmClearException(self); // clear before class lookup
670 dvmCallMethod(self, initMethod, iteExcep, &unused,
674 if (!dvmCheckException(self))
675 dvmSetException(self, iteExcep);
680 if (!dvmCheckException(self))
681 dvmSetException(self, origExcep);
689 assert(dvmCheckException(self));
690 dvmReleaseTrackedAlloc(origExcep, self);
727 Thread* self = dvmThreadSelf();
731 exception = self->exception;
735 self->exception = NULL;
740 dvmCallMethod(self, printMethod, exception, &unused);
746 if (self->exception != NULL) {
748 self->exception->clazz->descriptor);
751 self->exception = exception;
759 static int findCatchInMethod(Thread* self, const Method* method, int relPc,
766 assert(!dvmCheckException(self));
771 dvmComputeExactFrameDepth(self->curFrame));
836 (self->exception != NULL) ?
837 self->exception->clazz->descriptor : "(none)");
838 dvmClearException(self);
872 * If "scanOnly" is false, self->curFrame is also set to this value.
874 int dvmFindCatchBlock(Thread* self, int relPc, Object* exception,
877 void* fp = self->curFrame;
880 assert(!dvmCheckException(self));
884 catchAddr = findCatchInMethod(self, saveArea->method, relPc,
897 TRACE_METHOD_UNROLL(self, saveArea->method);
951 self->curFrame = fp;
957 self->exception = NULL;
969 * not self, the thread must be suspended. This implies that the thread