hotspot/src/os_cpu/aix_ppc/vm/os_aix_ppc.cpp
changeset 34633 2a6c7c7b30a7
parent 33105 294e48b4f704
child 34667 6b077f0ef25d
equal deleted inserted replaced
34632:bf3518bba285 34633:2a6c7c7b30a7
   165 extern "C" JNIEXPORT int
   165 extern "C" JNIEXPORT int
   166 JVM_handle_aix_signal(int sig, siginfo_t* info, void* ucVoid, int abort_if_unrecognized) {
   166 JVM_handle_aix_signal(int sig, siginfo_t* info, void* ucVoid, int abort_if_unrecognized) {
   167 
   167 
   168   ucontext_t* uc = (ucontext_t*) ucVoid;
   168   ucontext_t* uc = (ucontext_t*) ucVoid;
   169 
   169 
   170   Thread* t = ThreadLocalStorage::get_thread_slow();   // slow & steady
   170   Thread* t = Thread::current_or_null_safe();
   171 
   171 
   172   SignalHandlerMark shm(t);
   172   SignalHandlerMark shm(t);
   173 
   173 
   174   // Note: it's not uncommon that JNI code uses signal/sigset to install
   174   // Note: it's not uncommon that JNI code uses signal/sigset to install
   175   // then restore certain signal handler (e.g. to temporarily block SIGPIPE,
   175   // then restore certain signal handler (e.g. to temporarily block SIGPIPE,