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

Unified Diff: runtime/lib/async_patch.dart

Issue 2646443005: Track async causal stack traces (Closed)
Patch Set: Observatory UI support Created 3 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
« no previous file with comments | « no previous file | runtime/lib/stacktrace.h » ('j') | runtime/lib/stacktrace.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/async_patch.dart
diff --git a/runtime/lib/async_patch.dart b/runtime/lib/async_patch.dart
index 3e22fb044545fef55933c31361b6ea48c946e976..76a7db0cdf6bfac36dc3a66c3b9328eb71c9d686 100644
--- a/runtime/lib/async_patch.dart
+++ b/runtime/lib/async_patch.dart
@@ -190,3 +190,15 @@ class _AsyncStarStreamController {
}
@patch void _rethrow(Object error, StackTrace stackTrace) native "Async_rethrow";
+
+
+/// Returns a
siva 2017/01/26 19:26:22 typo
Cutch 2017/01/31 23:45:29 Done.
+/// Returns a [StackTrace] object containing the synchronous prefix for this
+/// asynchronous method.
+Object _asyncStackTraceHelper() native "StackTrace_forAsyncMethod";
rmacnak 2017/01/26 18:05:57 StackTrace _asyncStackTraceHelper()
Cutch 2017/01/31 23:45:29 Done.
+
+void _clearAsyncThreadStackTrace()
+ native "StackTrace_clearAsyncThreadStackTrace";
+
+void _setAsyncThreadStackTrace(StackTrace stackTrace) native
+ "StackTrace_setAsyncThreadStackTrace";
« no previous file with comments | « no previous file | runtime/lib/stacktrace.h » ('j') | runtime/lib/stacktrace.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698