src/hotspot/os_cpu/aix_ppc/os_aix_ppc.cpp
changeset 57594 61c2e3e7315d
parent 55490 3f3dc00a69a5
child 58679 9c3209ff7550
equal deleted inserted replaced
57593:f40a73b61b5e 57594:61c2e3e7315d
   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