Index: runtime/vm/dart.cc |
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc |
index 4b63f6f454b730a9c221ee926872b4f783082dd8..14ff0e798884a2db91ca67bd87f34aed2b15b04a 100644 |
--- a/runtime/vm/dart.cc |
+++ b/runtime/vm/dart.cc |
@@ -93,6 +93,8 @@ const char* Dart::InitOnce(const uint8_t* vm_isolate_snapshot, |
Thread::InitOnceBeforeIsolate(); |
Thread::EnsureInit(); |
Timeline::InitOnce(); |
+ Thread* thread = Thread::Current(); |
+ thread->set_name("Dart_Initialize"); |
TimelineDurationScope tds(Timeline::GetVMStream(), |
"Dart::InitOnce"); |
Isolate::InitOnce(); |