--- old/src/share/vm/runtime/vmThread.cpp 2015-11-11 15:15:05.411890172 -0500 +++ new/src/share/vm/runtime/vmThread.cpp 2015-11-11 15:15:03.375774878 -0500 @@ -240,7 +240,6 @@ void VMThread::run() { assert(this == vm_thread(), "check"); - this->initialize_thread_local_storage(); this->initialize_named_thread(); this->record_stack_base_and_size(); // Notify_lock wait checks on active_handles() to rewait in @@ -308,9 +307,6 @@ _terminate_lock->notify(); } - // Thread destructor usually does this. - ThreadLocalStorage::set_thread(NULL); - // Deletion must be done synchronously by the JNI DestroyJavaVM thread // so that the VMThread deletion completes before the main thread frees // up the CodeHeap.