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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 9242035: Give isolates names to be used during debugging. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 11 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
===================================================================
--- runtime/vm/dart_api_impl.cc (revision 3367)
+++ runtime/vm/dart_api_impl.cc (working copy)
@@ -497,10 +497,11 @@
// --- Isolates ---
-DART_EXPORT Dart_Isolate Dart_CreateIsolate(const uint8_t* snapshot,
+DART_EXPORT Dart_Isolate Dart_CreateIsolate(const char* name_prefix,
+ const uint8_t* snapshot,
void* callback_data,
char** error) {
- Isolate* isolate = Dart::CreateIsolate();
+ Isolate* isolate = Dart::CreateIsolate(name_prefix);
assert(isolate != NULL);
LongJump* base = isolate->long_jump_base();
LongJump jump;

Powered by Google App Engine
This is Rietveld 408576698