1 diff -ru a/hotspot/src/os/solaris/vm/thread_solaris.inline.hpp b/hotspot/src/os/solaris/vm/thread_solaris.inline.hpp
2 --- hotspot/src/os/solaris/vm/thread_solaris.inline.hpp 2022-07-31 16:21:00.000000000 +0000
3 +++ hotspot/src/os/solaris/vm/thread_solaris.inline.hpp 2022-11-10 19:56:04.464170013 +0000
8 -inline Thread* ThreadLocalStorage::thread() {
12 diff -ru a/hotspot/src/os_cpu/solaris_x86/vm/threadLS_solaris_x86.hpp b/hotspot/src/os_cpu/solaris_x86/vm/threadLS_solaris_x86.hpp
13 --- hotspot/src/os_cpu/solaris_x86/vm/threadLS_solaris_x86.hpp 2022-07-31 16:21:00.000000000 +0000
14 +++ /hotspot/src/os_cpu/solaris_x86/vm/threadLS_solaris_x86.hpp 2022-11-10 19:55:24.295227949 +0000
16 static bool _initialized; // needed for shared API
19 - static inline Thread* thread();
20 + static inline Thread* thread() { return _thr_current; }
22 #endif // OS_CPU_SOLARIS_X86_VM_THREADLS_SOLARIS_X86_HPP