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

Unified Diff: runtime/include/dart_api.h

Issue 1412733008: Switch profiler from isolates to threads (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/include/dart_api.h
diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h
index b851d717b46949b88a07befe3d50954836398270..43a90d69eb5d7beca28099dabc8ec1d337db9a75 100755
--- a/runtime/include/dart_api.h
+++ b/runtime/include/dart_api.h
@@ -1010,14 +1010,14 @@ DART_EXPORT Dart_Handle Dart_DebugName();
DART_EXPORT void Dart_EnterIsolate(Dart_Isolate isolate);
/**
- * Notifies the VM that the current isolate is about to make a blocking call.
+ * Notifies the VM that the current thread is about to make a blocking call.
*/
-DART_EXPORT void Dart_IsolateBlocked();
+DART_EXPORT void Dart_ThreadBlocked();
siva 2015/10/26 23:45:26 With the new safepointing code a Blocked thread is
Cutch 2015/10/27 22:36:24 Done. Dart_ThreadDisableProfiling Dart_ThreadEnab
/**
- * Notifies the VM that the current isolate is no longer blocked.
+ * Notifies the VM that the current thread is no longer blocked.
*/
-DART_EXPORT void Dart_IsolateUnblocked();
+DART_EXPORT void Dart_ThreadUnblocked();
/**
* Exits an isolate. After this call, Dart_CurrentIsolate will
« no previous file with comments | « runtime/bin/dartutils.h ('k') | runtime/vm/dart.cc » ('j') | runtime/vm/debugger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698