comparison src/share/vm/runtime/sharedRuntime.cpp @ 2608:b1b58f908044

Deoptimize on implicit division by 0.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Fri, 06 May 2011 17:54:02 +0200
parents 008adfd6d850
children 75a99b4f1c98
comparison
equal deleted inserted replaced
2607:008adfd6d850 2608:b1b58f908044
807 #endif 807 #endif
808 if (UseC1X) { 808 if (UseC1X) {
809 if (TraceSignals) { 809 if (TraceSignals) {
810 tty->print_cr("c1x implicit div0"); 810 tty->print_cr("c1x implicit div0");
811 } 811 }
812 target_pc = Runtime1::entry_for(Runtime1::c1x_throw_div0_exception_id); 812 target_pc = deoptimization_continuation(thread, pc, nm);
813 } else { 813 } else {
814 target_pc = nm->continuation_for_implicit_exception(pc); 814 target_pc = nm->continuation_for_implicit_exception(pc);
815 } 815 }
816 // If there's an unexpected fault, target_pc might be NULL, 816 // If there's an unexpected fault, target_pc might be NULL,
817 // in which case we want to fall through into the normal 817 // in which case we want to fall through into the normal