diff -r 42d198677884 -r 2fdf635bcf28 src/share/vm/runtime/thread.cpp --- a/src/share/vm/runtime/thread.cpp Thu Sep 05 18:40:52 2019 +0800 +++ b/src/share/vm/runtime/thread.cpp Thu Sep 05 18:52:27 2019 +0800 @@ -1316,6 +1316,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");