8001341: SIGSEGV in methodOopDesc::fast_exception_handler_bci_for(KlassHandle,int,Thread*)+0x3e9

Use methodHandle.

Reviewed-by: coleenp, acorn, twisti, sspitsyn
This commit is contained in:
Jiangli Zhou 2013-01-08 13:01:19 -05:00
parent 782ef982f6
commit 8d91f983e0
5 changed files with 17 additions and 11 deletions

View file

@ -343,7 +343,7 @@ class Method : public Metadata {
// 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 {