diff 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
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp	Wed Apr 14 15:30:13 2010 -0700
+++ b/src/share/vm/runtime/sharedRuntime.cpp	Thu Apr 15 18:14:49 2010 -0700
@@ -473,6 +473,13 @@
     t = table.entry_for(catch_pco, -1, 0);
   }
 
+#ifdef COMPILER1
+  if (t == NULL && nm->is_compiled_by_c1()) {
+    assert(nm->unwind_handler_begin() != NULL, "");
+    return nm->unwind_handler_begin();
+  }
+#endif
+
   if (t == NULL) {
     tty->print_cr("MISSING EXCEPTION HANDLER for pc " INTPTR_FORMAT " and handler bci %d", ret_pc, handler_bci);
     tty->print_cr("   Exception:");