os::thread_local_storage_at_put(int index, void* value)
-
//Linux版(jdk7/hotspot/src/os/linux/vm/os_linux.cpp) void os::thread_local_storage_at_put(int index, void* value) { int rslt = pthread_setspecific((pthread_key_t)index, value); assert(rslt == 0, "pthread_setspecific failed"); }