mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
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:
parent
782ef982f6
commit
8d91f983e0
5 changed files with 17 additions and 11 deletions
|
@ -643,7 +643,8 @@ address SharedRuntime::compute_compiled_exc_handler(nmethod* nm, address ret_pc,
|
|||
bool skip_scope_increment = false;
|
||||
// exception handler lookup
|
||||
KlassHandle ek (THREAD, exception->klass());
|
||||
handler_bci = sd->method()->fast_exception_handler_bci_for(ek, bci, THREAD);
|
||||
methodHandle mh(THREAD, sd->method());
|
||||
handler_bci = Method::fast_exception_handler_bci_for(mh, ek, bci, THREAD);
|
||||
if (HAS_PENDING_EXCEPTION) {
|
||||
recursive_exception = true;
|
||||
// We threw an exception while trying to find the exception handler.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue