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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 3004563003: Refactor Isolate name format, storage and log (Closed)
Patch Set: Created 3 years, 4 months 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
Index: runtime/vm/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index 6347cc98683a3a15975e4e051052af1ef25d2366..17d4ed6e814d0fa2a81b258ca142afc0e657f63f 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -1096,9 +1096,9 @@ static char* BuildIsolateName(const char* script_uri, const char* main) {
}
char* chars = NULL;
- intptr_t len = OS::SNPrint(NULL, 0, "%s$%s", script_uri, main) + 1;
+ intptr_t len = OS::SNPrint(NULL, 0, "%s:%s()", script_uri, main) + 1;
chars = reinterpret_cast<char*>(malloc(len));
- OS::SNPrint(chars, len, "%s$%s", script_uri, main);
+ OS::SNPrint(chars, len, "%s:%s()", script_uri, main);
return chars;
}

Powered by Google App Engine
This is Rietveld 408576698