hotspot/src/os/linux/vm/os_linux.cpp
void os::thread_local_storage_at_put(int index, void* value) {
  {- -------------------------------------------
  (1) pthread_setspecific() を呼ぶだけ.
      ---------------------------------------- -}
      int rslt = pthread_setspecific((pthread_key_t)index, value);
      assert(rslt == 0, "pthread_setspecific failed");
    }
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.