hotspot/src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp
changeset 34633 2a6c7c7b30a7
parent 33732 2a47b89db4ec
child 34667 6b077f0ef25d
equal deleted inserted replaced
34632:bf3518bba285 34633:2a6c7c7b30a7
   288 extern "C" JNIEXPORT int
   288 extern "C" JNIEXPORT int
   289 JVM_handle_solaris_signal(int sig, siginfo_t* info, void* ucVoid,
   289 JVM_handle_solaris_signal(int sig, siginfo_t* info, void* ucVoid,
   290                           int abort_if_unrecognized) {
   290                           int abort_if_unrecognized) {
   291   ucontext_t* uc = (ucontext_t*) ucVoid;
   291   ucontext_t* uc = (ucontext_t*) ucVoid;
   292 
   292 
   293   Thread* t = ThreadLocalStorage::get_thread_slow();
   293   Thread* t = Thread::current_or_null_safe();
   294 
   294 
   295   // Must do this before SignalHandlerMark, if crash protection installed we will longjmp away
   295   // Must do this before SignalHandlerMark, if crash protection installed we will longjmp away
   296   // (no destructors can be run)
   296   // (no destructors can be run)
   297   os::WatcherThreadCrashProtection::check_crash_protection(sig, t);
   297   os::WatcherThreadCrashProtection::check_crash_protection(sig, t);
   298 
   298