1.1 --- a/src/share/vm/runtime/thread.cpp Thu Sep 05 18:40:52 2019 +0800 1.2 +++ b/src/share/vm/runtime/thread.cpp Thu Sep 05 18:52:27 2019 +0800 1.3 @@ -1316,6 +1316,7 @@ 1.4 1.5 this->record_stack_base_and_size(); 1.6 this->initialize_thread_local_storage(); 1.7 + this->set_native_thread_name(this->name()); 1.8 this->set_active_handles(JNIHandleBlock::allocate_block()); 1.9 while(!_should_terminate) { 1.10 assert(watcher_thread() == Thread::current(), "thread consistency check");