hotspot/src/share/vm/runtime/vmThread.cpp
changeset 34633 2a6c7c7b30a7
parent 33222 e0a340f4ab6e
child 35061 be6025ebffea
--- a/hotspot/src/share/vm/runtime/vmThread.cpp	Fri Dec 04 04:29:31 2015 +0000
+++ b/hotspot/src/share/vm/runtime/vmThread.cpp	Fri Dec 04 04:06:37 2015 -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.