Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: runtime/vm/dart.cc

Issue 1406413006: Timeline service protocol support with Observatory UI (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/observatory/web/timeline.js ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « runtime/observatory/web/timeline.js ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698