< prev index next >

src/os_cpu/linux_zero/vm/os_linux_zero.cpp

Print this page

        

@@ -123,11 +123,11 @@
                         siginfo_t* info,
                         void* ucVoid,
                         int abort_if_unrecognized) {
   ucontext_t* uc = (ucontext_t*) ucVoid;
 
-  Thread* t = ThreadLocalStorage::get_thread_slow();
+  Thread* t = Thread::current_or_null_safe();
 
   SignalHandlerMark shm(t);
 
   // handle SafeFetch faults
   if (sig == SIGSEGV || sig == SIGBUS) {
< prev index next >