--- old/src/hotspot/share/utilities/globalDefinitions_visCPP.hpp 2019-09-12 10:44:04.062965443 +0200 +++ new/src/hotspot/share/utilities/globalDefinitions_visCPP.hpp 2019-09-12 10:44:03.800956550 +0200 @@ -153,9 +153,7 @@ #define offset_of(klass,field) offsetof(klass,field) -#ifndef USE_LIBRARY_BASED_TLS_ONLY -#define THREAD_LOCAL_DECL __declspec( thread ) -#endif +#define THREAD_LOCAL __declspec(thread) // Inlining support // MSVC has '__declspec(noinline)' but according to the official documentation