--- old/src/share/vm/utilities/globalDefinitions_sparcWorks.hpp 2015-11-27 02:29:13.713599001 -0500 +++ new/src/share/vm/utilities/globalDefinitions_sparcWorks.hpp 2015-11-27 02:29:12.401525204 -0500 @@ -273,4 +273,8 @@ #define offset_of(klass,field) offsetof(klass,field) +#ifndef USE_LIBRARY_BASED_TLS_ONLY +#define THREAD_LOCAL_DECL __thread +#endif + #endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_SPARCWORKS_HPP