--- old/src/hotspot/share/utilities/globalDefinitions_gcc.hpp 2019-09-12 10:44:03.275938731 +0200 +++ new/src/hotspot/share/utilities/globalDefinitions_gcc.hpp 2019-09-12 10:44:02.950927701 +0200 @@ -254,9 +254,7 @@ #define JLONG_FORMAT_W(width) "%" #width "ld" #endif // _LP64 && __APPLE__ -#ifndef USE_LIBRARY_BASED_TLS_ONLY -#define THREAD_LOCAL_DECL __thread -#endif +#define THREAD_LOCAL __thread // Inlining support #define NOINLINE __attribute__ ((noinline))