| Index: runtime/vm/thread_pool.cc
|
| diff --git a/runtime/vm/thread_pool.cc b/runtime/vm/thread_pool.cc
|
| index 8f6990b6029566fbb6b83edb4971b6fcd6b9aea4..d5472a661001541f0d95bb3d2474b173ef3e7d0d 100644
|
| --- a/runtime/vm/thread_pool.cc
|
| +++ b/runtime/vm/thread_pool.cc
|
| @@ -418,6 +418,8 @@ void ThreadPool::Worker::Shutdown() {
|
| // static
|
| void ThreadPool::Worker::Main(uword args) {
|
| Thread::EnsureInit();
|
| + Thread* thread = Thread::Current();
|
| + thread->set_name("Dart ThreadPool Worker");
|
| Worker* worker = reinterpret_cast<Worker*>(args);
|
| ThreadId id = OSThread::GetCurrentThreadId();
|
| ThreadJoinId join_id = OSThread::GetCurrentThreadJoinId();
|
|
|