< prev index next >

src/os_cpu/solaris_x86/vm/os_solaris_x86.cpp

Print this page

        

@@ -344,11 +344,11 @@
     uc->uc_mcontext.gregs[EIP] = (greg_t)sse_unavailable;
     return true;
   }
 #endif // !AMD64
 
-  Thread* t = ThreadLocalStorage::get_thread_slow();  // slow & steady
+  Thread* t = ThreadLocalStorage::thread(); // can't use Thread::current()
 
   // Must do this before SignalHandlerMark, if crash protection installed we will longjmp away
   // (no destructors can be run)
   os::WatcherThreadCrashProtection::check_crash_protection(sig, t);
 
< prev index next >