diff src/share/vm/c1/c1_Compilation.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 18a389214829
children b4776199210f
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Compilation.cpp	Wed Apr 14 15:30:13 2010 -0700
+++ b/src/share/vm/c1/c1_Compilation.cpp	Thu Apr 15 18:14:49 2010 -0700
@@ -229,6 +229,10 @@
   code_offsets->set_value(CodeOffsets::DeoptMH, assembler->emit_deopt_handler());
   CHECK_BAILOUT();
 
+  // Emit the handler to remove the activation from the stack and
+  // dispatch to the caller.
+  offsets()->set_value(CodeOffsets::UnwindHandler, assembler->emit_unwind_handler());
+
   // done
   masm()->flush();
 }