--- old/src/hotspot/share/utilities/globalDefinitions_solstudio.hpp 2019-09-11 22:22:03.064925056 +0200 +++ new/src/hotspot/share/utilities/globalDefinitions_solstudio.hpp 2019-09-11 22:22:02.749914767 +0200 @@ -245,8 +245,8 @@ #define offset_of(klass,field) offsetof(klass,field) -#ifndef USE_LIBRARY_BASED_TLS_ONLY -#define THREAD_LOCAL_DECL __thread +#if __cplusplus < 201103L +#define thread_local __thread #endif // Inlining support