hotspot/src/share/vm/runtime/thread.cpp
changeset 27164 6523fa019ffa
parent 26834 41332d860d6a
child 27248 5862834b1594
child 27420 04e6f914cce1
--- a/hotspot/src/share/vm/runtime/thread.cpp	Fri Oct 10 21:47:04 2014 +0000
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Mon Oct 13 22:11:39 2014 +0200
@@ -1287,6 +1287,7 @@
 
   this->record_stack_base_and_size();
   this->initialize_thread_local_storage();
+  this->set_native_thread_name(this->name());
   this->set_active_handles(JNIHandleBlock::allocate_block());
   while (!_should_terminate) {
     assert(watcher_thread() == Thread::current(), "thread consistency check");