--- a/hotspot/src/share/vm/gc/shared/concurrentGCThread.cpp Fri Dec 04 04:29:31 2015 +0000
+++ b/hotspot/src/share/vm/gc/shared/concurrentGCThread.cpp Fri Dec 04 04:06:37 2015 -0500
@@ -51,7 +51,6 @@
void ConcurrentGCThread::initialize_in_thread() {
this->record_stack_base_and_size();
- this->initialize_thread_local_storage();
this->initialize_named_thread();
this->set_active_handles(JNIHandleBlock::allocate_block());
// From this time Thread::current() should be working.
@@ -74,9 +73,6 @@
_has_terminated = true;
Terminator_lock->notify();
}
-
- // Thread destructor usually does this..
- ThreadLocalStorage::set_thread(NULL);
}
static void _sltLoop(JavaThread* thread, TRAPS) {