os::free_thread_local_storage(int index)
-
//Linux版(jdk7/hotspot/src/os/linux/vm/os_linux.cpp) // Note: This is currently not used by VM, as we don't destroy TLS key // on VM exit. void os::free_thread_local_storage(int index) { int rslt = pthread_key_delete((pthread_key_t)index); assert(rslt == 0, "invalid index"); }