equal
deleted
inserted
replaced
344 uc->uc_mcontext.gregs[EIP] = (greg_t)sse_unavailable; |
344 uc->uc_mcontext.gregs[EIP] = (greg_t)sse_unavailable; |
345 return true; |
345 return true; |
346 } |
346 } |
347 #endif // !AMD64 |
347 #endif // !AMD64 |
348 |
348 |
349 Thread* t = ThreadLocalStorage::get_thread_slow(); // slow & steady |
349 Thread* t = Thread::current_or_null_safe(); |
350 |
350 |
351 // Must do this before SignalHandlerMark, if crash protection installed we will longjmp away |
351 // Must do this before SignalHandlerMark, if crash protection installed we will longjmp away |
352 // (no destructors can be run) |
352 // (no destructors can be run) |
353 os::WatcherThreadCrashProtection::check_crash_protection(sig, t); |
353 os::WatcherThreadCrashProtection::check_crash_protection(sig, t); |
354 |
354 |