Changeset 582
- Timestamp:
- 10/19/08 17:56:15 (3 months ago)
- Files:
-
- Mika/trunk/core-vm/src/vm/interpreter.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Mika/trunk/core-vm/src/vm/interpreter.c
r524 r582 599 599 #endif 600 600 601 woempa( 7, "CALLING %M, dispatcher is %p\n", method, method->exec.dispatcher);601 woempa(1, "CALLING %M, dispatcher is %p\n", method, method->exec.dispatcher); 602 602 if (caller->auxstack_top - (caller->jstack_top + method->exec.stack_i) > MIN_FREE_SLOTS && caller->thread->ksize - depth > 4096) { 603 603 #ifdef JAVA_PROFILE … … 620 620 method->exec.dispatcher(caller, method); 621 621 #endif 622 woempa( 7, "RETURNED from %M\n", method);622 woempa(1, "RETURNED from %M\n", method); 623 623 } 624 624 else { … … 1680 1680 if (thread->exception) { 1681 1681 frame->jstack_top = tos; 1682 frame->current = current; 1682 1683 current = searchHandler(frame); 1683 1684 tos = (w_Slot*)frame->jstack_top; … … 4401 4402 4402 4403 if (isSet(verbose_flags, VERBOSE_FLAG_THROW)) { 4403 wprintf("Thrown: %k '%w' in %M, thread %t\n", instance2clazz(thread->exception), String2string((w_instance)thread->exception[F_Throwable_detailMessage]), frame->method, thread);4404 wprintf("Thrown: Seeking handler for %k '%w' in %M, thread %t\n", instance2clazz(thread->exception), String2string((w_instance)thread->exception[F_Throwable_detailMessage]), frame->method, thread); 4404 4405 } 4405 4406 woempa(7, "Seeking handler for %k in %t, current frame is running %M\n", instance2clazz(thread->exception), thread, frame->method); … … 4416 4417 cc = getClassConstant(frame->method->spec.declaring_clazz, ex->type_index, thread); 4417 4418 enterUnsafeRegion(thread); 4419 /* [CG 20080206] This can never be executed surely? 4418 4420 if (thread->exception) { 4419 4421 pending = thread->exception; … … 4421 4423 break; 4422 4424 } 4425 */ 4423 4426 } 4424 4427 else { … … 4428 4431 if (cc == NULL || isSuperClass(cc, instance2object(pending)->clazz)) { 4429 4432 if (isSet(verbose_flags, VERBOSE_FLAG_THROW)) { 4430 wprintf("Thrown: Catching %k '%w' in %M, thread %t\n", instance2clazz( thread->exception), String2string((w_instance)thread->exception[F_Throwable_detailMessage]), frame->method, thread);4433 wprintf("Thrown: Catching %k '%w' in %M, thread %t\n", instance2clazz(pending), String2string((w_instance)pending[F_Throwable_detailMessage]), frame->method, thread); 4431 4434 } 4432 4435 woempa(7, ">>>> Found a handler for %j at pc = %d <<<<\n", pending, ex->handler_pc);
