Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/sharedRuntime.cpp @ 1378:9f5b60a14736
6939930: exception unwind changes in 6919934 hurts compilation speed
Reviewed-by: twisti
author | never |
---|---|
date | Thu, 15 Apr 2010 18:14:49 -0700 |
parents | 93767e6a2dfd |
children | abc670a709dc 2338d41fbd81 |
comparison
equal
deleted
inserted
replaced
1377:ef74d6d1ac1e | 1378:9f5b60a14736 |
---|---|
470 // a synthethic handler to unlock monitors when inlining | 470 // a synthethic handler to unlock monitors when inlining |
471 // synchonized methods since the unlock path isn't represented in | 471 // synchonized methods since the unlock path isn't represented in |
472 // the bytecodes. | 472 // the bytecodes. |
473 t = table.entry_for(catch_pco, -1, 0); | 473 t = table.entry_for(catch_pco, -1, 0); |
474 } | 474 } |
475 | |
476 #ifdef COMPILER1 | |
477 if (t == NULL && nm->is_compiled_by_c1()) { | |
478 assert(nm->unwind_handler_begin() != NULL, ""); | |
479 return nm->unwind_handler_begin(); | |
480 } | |
481 #endif | |
475 | 482 |
476 if (t == NULL) { | 483 if (t == NULL) { |
477 tty->print_cr("MISSING EXCEPTION HANDLER for pc " INTPTR_FORMAT " and handler bci %d", ret_pc, handler_bci); | 484 tty->print_cr("MISSING EXCEPTION HANDLER for pc " INTPTR_FORMAT " and handler bci %d", ret_pc, handler_bci); |
478 tty->print_cr(" Exception:"); | 485 tty->print_cr(" Exception:"); |
479 exception->print(); | 486 exception->print(); |