< prev index next >

src/hotspot/share/runtime/thread.cpp

Print this page

        

@@ -164,11 +164,11 @@
 
 #endif // ndef DTRACE_ENABLED
 
 #ifndef USE_LIBRARY_BASED_TLS_ONLY
 // Current thread is maintained as a thread-local variable
-THREAD_LOCAL_DECL Thread* Thread::_thr_current = NULL;
+thread_local Thread* Thread::_thr_current = NULL;
 #endif
 
 // ======= Thread ========
 // Support for forcing alignment of thread objects for biased locking
 void* Thread::allocate(size_t size, bool throw_excpt, MEMFLAGS flags) {
< prev index next >