equal
deleted
inserted
replaced
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 |