diff src/share/vm/oops/method.hpp @ 7469:0c8717a92b2d

8001341: SIGSEGV in methodOopDesc::fast_exception_handler_bci_for(KlassHandle,int,Thread*)+0x3e9. Summary: Use methodHandle. Reviewed-by: coleenp, acorn, twisti, sspitsyn
author jiangli
date Tue, 08 Jan 2013 13:01:19 -0500
parents fd74228fd5ca
children 18c3c3fa291b
line wrap: on
line diff
--- a/src/share/vm/oops/method.hpp	Thu Jan 03 15:08:43 2013 -0500
+++ b/src/share/vm/oops/method.hpp	Tue Jan 08 13:01:19 2013 -0500
@@ -343,7 +343,7 @@
   // exception handler which caused the exception to be thrown, which
   // is needed for proper retries. See, for example,
   // InterpreterRuntime::exception_handler_for_exception.
-  int fast_exception_handler_bci_for(KlassHandle ex_klass, int throw_bci, TRAPS);
+  static int fast_exception_handler_bci_for(methodHandle mh, KlassHandle ex_klass, int throw_bci, TRAPS);
 
   // method data access
   MethodData* method_data() const              {