hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
changeset 34633 2a6c7c7b30a7
parent 33148 68fa8b6c4340
child 34667 6b077f0ef25d
equal deleted inserted replaced
34632:bf3518bba285 34633:2a6c7c7b30a7
   219                         siginfo_t* info,
   219                         siginfo_t* info,
   220                         void* ucVoid,
   220                         void* ucVoid,
   221                         int abort_if_unrecognized) {
   221                         int abort_if_unrecognized) {
   222   ucontext_t* uc = (ucontext_t*) ucVoid;
   222   ucontext_t* uc = (ucontext_t*) ucVoid;
   223 
   223 
   224   Thread* t = ThreadLocalStorage::get_thread_slow();
   224   Thread* t = Thread::current_or_null_safe();
   225 
   225 
   226   // Must do this before SignalHandlerMark, if crash protection installed we will longjmp away
   226   // Must do this before SignalHandlerMark, if crash protection installed we will longjmp away
   227   // (no destructors can be run)
   227   // (no destructors can be run)
   228   os::WatcherThreadCrashProtection::check_crash_protection(sig, t);
   228   os::WatcherThreadCrashProtection::check_crash_protection(sig, t);
   229 
   229