src/hotspot/share/runtime/thread.cpp
changeset 58124 dc792fa77da0
parent 58095 adc72cd1d1f2
child 58156 68031e660872
child 58196 cea6839598e8
equal deleted inserted replaced
58123:70aebd567a5c 58124:dc792fa77da0
   164 
   164 
   165 #endif // ndef DTRACE_ENABLED
   165 #endif // ndef DTRACE_ENABLED
   166 
   166 
   167 #ifndef USE_LIBRARY_BASED_TLS_ONLY
   167 #ifndef USE_LIBRARY_BASED_TLS_ONLY
   168 // Current thread is maintained as a thread-local variable
   168 // Current thread is maintained as a thread-local variable
   169 THREAD_LOCAL_DECL Thread* Thread::_thr_current = NULL;
   169 THREAD_LOCAL Thread* Thread::_thr_current = NULL;
   170 #endif
   170 #endif
   171 
   171 
   172 // ======= Thread ========
   172 // ======= Thread ========
   173 // Support for forcing alignment of thread objects for biased locking
   173 // Support for forcing alignment of thread objects for biased locking
   174 void* Thread::allocate(size_t size, bool throw_excpt, MEMFLAGS flags) {
   174 void* Thread::allocate(size_t size, bool throw_excpt, MEMFLAGS flags) {