equal
deleted
inserted
replaced
475 next_pc = SharedRuntime::handle_unsafe_access(thread, next_pc); |
475 next_pc = SharedRuntime::handle_unsafe_access(thread, next_pc); |
476 os::Aix::ucontext_set_pc(uc, next_pc); |
476 os::Aix::ucontext_set_pc(uc, next_pc); |
477 return 1; |
477 return 1; |
478 } |
478 } |
479 } |
479 } |
|
480 |
|
481 // jni_fast_Get<Primitive>Field can trap at certain pc's if a GC kicks in |
|
482 // and the heap gets shrunk before the field access. |
|
483 if ((sig == SIGSEGV) || (sig == SIGBUS)) { |
|
484 address addr = JNI_FastGetField::find_slowcase_pc(pc); |
|
485 if (addr != (address)-1) { |
|
486 stub = addr; |
|
487 } |
|
488 } |
480 } |
489 } |
481 |
490 |
482 run_stub: |
491 run_stub: |
483 |
492 |
484 // One of the above code blocks ininitalized the stub, so we want to |
493 // One of the above code blocks ininitalized the stub, so we want to |