--- old/src/hotspot/share/runtime/thread.hpp 2019-09-11 22:22:02.247898370 +0200 +++ new/src/hotspot/share/runtime/thread.hpp 2019-09-11 22:22:01.986889845 +0200 @@ -142,7 +142,7 @@ #ifndef USE_LIBRARY_BASED_TLS_ONLY // Current thread is maintained as a thread-local variable - static THREAD_LOCAL_DECL Thread* _thr_current; + static thread_local Thread* _thr_current; #endif // Thread local data area available to the GC. The internal