/dalvik/vm/mterp/c/ |
H A D | OP_MOVE_EXCEPTION.cpp | 3 ILOGV("|move-exception v%d", vdst); 4 assert(self->exception != NULL); 5 SET_REGISTER(vdst, (u4)self->exception);
|
/dalvik/tests/081-hot-exceptions/src/ |
H A D | Main.java | 29 int exception = 0; 36 exception++; 40 System.out.println("exception = " + exception);
|
/dalvik/vm/mterp/x86/ |
H A D | OP_THROW.S | 2 %verify "exception for null object" 4 * Throw an exception object in the current thread. 8 GET_VREG_R %eax rINST # eax<- exception object 12 movl %eax,offThread_exception(%ecx) # thread->exception<- obj
|
H A D | OP_MOVE_EXCEPTION.S | 2 /* move-exception vAA */ 5 SET_VREG %eax rINST # fp[AA]<- exception object
|
H A D | OP_FILL_ARRAY_DATA.S | 13 testl %eax,%eax # exception thrown?
|
H A D | OP_MONITOR_EXIT.S | 2 %verify "exception for null object (impossible in javac)" 25 je common_exceptionThrown # no, exception pending
|
H A D | OP_THROW_VERIFICATION_ERROR.S | 4 * exception for an error discovered during verification. The 5 * exception is indicated by AA, with some detail provided by BBBB. 16 jmp common_exceptionThrown # handle exception
|
/dalvik/vm/mterp/armv5te/ |
H A D | OP_THROW.S | 2 %verify "exception for null object" 4 * Throw an exception object in the current thread. 8 GET_VREG(r1, r2) @ r1<- vAA (exception object) 9 EXPORT_PC() @ exception handler can throw 13 str r1, [rSELF, #offThread_exception] @ thread->exception<- obj
|
H A D | OP_THROW_VERIFICATION_ERROR.S | 4 * exception for an error discovered during verification. The 5 * exception is indicated by AA, with some detail provided by BBBB. 13 b common_exceptionThrown @ handle exception
|
H A D | OP_FILL_ARRAY_DATA.S | 11 cmp r0, #0 @ 0 means an exception is thrown 12 beq common_exceptionThrown @ has exception
|
H A D | OP_MONITOR_ENTER.S | 2 %verify "exception for null object" 12 beq common_errNullObject @ null object, throw an exception
|
H A D | OP_MOVE_EXCEPTION.S | 2 /* move-exception vAA */ 7 SET_VREG(r3, r2) @ fp[AA]<- exception obj
|
H A D | OP_INVOKE_DIRECT.S | 31 b common_errNullObject @ yes, throw exception 46 b common_exceptionThrown @ yes, handle exception
|
H A D | OP_INVOKE_OBJECT_INIT_RANGE.S | 29 ldr r0, [rSELF, #offThread_exception] @ r0<- self->exception 30 cmp r0, #0 @ exception pending?
|
H A D | OP_INVOKE_VIRTUAL.S | 29 b common_exceptionThrown @ yes, handle exception 41 beq common_errNullObject @ null "this", throw exception
|
/dalvik/vm/mterp/mips/ |
H A D | OP_THROW.S | 2 %verify "exception for null object" 4 * Throw an exception object in the current thread. 8 GET_VREG(a1, a2) # a1 <- vAA (exception object) 9 EXPORT_PC() # exception handler can throw 13 STORE_offThread_exception(a1, rSELF) # thread->exception <- obj
|
H A D | OP_THROW_VERIFICATION_ERROR.S | 4 * exception for an error discovered during verification. The 5 * exception is indicated by AA, with some detail provided by BBBB. 14 b common_exceptionThrown # handle exception
|
H A D | OP_FILL_ARRAY_DATA.S | 12 # 0 means an exception is thrown 13 beqz v0, common_exceptionThrown # has exception
|
H A D | OP_MONITOR_ENTER.S | 2 %verify "exception for null object" 12 beqz a1, common_errNullObject # null object, throw an exception
|
H A D | OP_MOVE_EXCEPTION.S | 2 /* move-exception vAA */ 7 SET_VREG(a3, a2) # fp[AA] <- exception obj
|
H A D | OP_THROW_VERIFICATION_ERROR_JUMBO.S | 4 * exception for an error discovered during verification. The 5 * exception is indicated by BBBB, with some detail provided by AAAAAAAA. 16 b common_exceptionThrown # handle exception
|
H A D | OP_INVOKE_DIRECT.S | 35 beqz v0, common_exceptionThrown # yes, handle exception 39 b common_errNullObject # yes, throw exception
|
H A D | OP_INVOKE_DIRECT_JUMBO.S | 36 beqz v0, common_exceptionThrown # yes, handle exception 40 b common_errNullObject # yes, throw exception
|
/dalvik/vm/ |
H A D | Exception.cpp | 27 We have one fairly sticky issue to deal with: creating the exception stack 32 The exception mechanism requires that the current stack trace be associated 39 (2) The VM throws an exception from within the interpreter core, e.g. 41 (3) The VM throws an exception from somewhere deeper down, e.g. while 47 an exception. We can't store it globally, because the various threads 54 with by passing the PC into the exception creation function. The trick 56 operations. Making it more costly to throw an exception is acceptable. 69 (d) Before doing something that might throw an exception, push a 83 - Throw an exception before re-saving the PC (i.e in the same opcode) 99 static bool initException(Object* exception, cons 115 Object* exception; local 247 initException(Object* exception, const char* msg, Object* cause, Thread* self) argument 469 dvmIsCheckedException(const Object* exception) argument 539 dvmGetExceptionCause(const Object* exception) argument 567 Object* exception; local 715 dvmFindCatchBlock(Thread* self, int relPc, Object* exception, bool scanOnly, void** newFrame) argument 1072 getExceptionMessage(Object* exception) argument 1123 logStackTraceOf(Object* exception) argument 1164 Object* exception = dvmThreadSelf()->exception; local 1295 Object* exception = dvmGetException(self); local [all...] |
H A D | Exception.h | 24 * Create a Throwable and throw an exception in the current thread (where 25 * "throwing" just means "set the thread's exception pointer"). 29 * If we have a bad exception hierarchy -- something in Throwable.<init> 30 * is missing -- then every attempt to throw an exception will result 31 * in another exception. Exceptions are generally allowed to "chain" 90 * Return the exception being thrown in the current thread, or NULL if 91 * no exception is pending. 94 return self->exception; 98 * Set the exception being thrown in the current thread. 100 INLINE void dvmSetException(Thread* self, Object* exception) argument [all...] |