Mercurial > hg > truffle
diff src/share/vm/opto/runtime.cpp @ 1368:93767e6a2dfd
6941529: SharedRuntime::raw_exception_handler_for_return_address must reset thread MethodHandle flag
Summary: During testing a bug was hit when an exception returned to the interpreter and the SP was wrong.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Thu, 08 Apr 2010 10:55:40 +0200 |
parents | 3cf667df43ef |
children | c18cbe5936b8 |
line wrap: on
line diff
--- a/src/share/vm/opto/runtime.cpp Wed Apr 07 12:39:27 2010 -0700 +++ b/src/share/vm/opto/runtime.cpp Thu Apr 08 10:55:40 2010 +0200 @@ -865,7 +865,7 @@ thread->set_exception_stack_size(0); // Check if the exception PC is a MethodHandle call site. - thread->set_is_method_handle_exception(nm->is_method_handle_return(pc)); + thread->set_is_method_handle_return(nm->is_method_handle_return(pc)); } // Restore correct return pc. Was saved above.