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

Unified Diff: runtime/vm/object_store.h

Issue 2646443005: Track async causal stack traces (Closed)
Patch Set: rebase Created 3 years, 10 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 | « runtime/vm/object_service.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_store.h
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h
index ab0a38485cd8327fa0a5882399cbe47ef04596d6..a144e56f3ac8d3496d395dc5085152b687d5af9e 100644
--- a/runtime/vm/object_store.h
+++ b/runtime/vm/object_store.h
@@ -438,6 +438,20 @@ class ObjectStore {
RawFunction* simple_instance_of_false_function() const {
return simple_instance_of_false_function_;
}
+ RawFunction* async_clear_thread_stack_trace() const {
+ return async_clear_thread_stack_trace_;
+ }
+ void set_async_clear_thread_stack_trace(const Function& func) {
+ async_clear_thread_stack_trace_ = func.raw();
+ ASSERT(async_clear_thread_stack_trace_ != Object::null());
+ }
+ RawFunction* async_set_thread_stack_trace() const {
+ return async_set_thread_stack_trace_;
+ }
+ void set_async_set_thread_stack_trace(const Function& func) {
+ async_set_thread_stack_trace_ = func.raw();
+ ASSERT(async_set_thread_stack_trace_ != Object::null());
+ }
// Visit all object pointers.
void VisitObjectPointers(ObjectPointerVisitor* visitor);
@@ -540,6 +554,8 @@ class ObjectStore {
V(RawFunction*, simple_instance_of_function_) \
V(RawFunction*, simple_instance_of_true_function_) \
V(RawFunction*, simple_instance_of_false_function_) \
+ V(RawFunction*, async_clear_thread_stack_trace_) \
+ V(RawFunction*, async_set_thread_stack_trace_) \
V(RawArray*, library_load_error_table_) \
V(RawArray*, unique_dynamic_targets_) \
V(RawGrowableObjectArray*, token_objects_) \
« no previous file with comments | « runtime/vm/object_service.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698