Chromium Code Reviews| Index: runtime/vm/thread_registry.h |
| diff --git a/runtime/vm/thread_registry.h b/runtime/vm/thread_registry.h |
| index eb2d327f64ebac1a7ce8828ea3eb341fcba6baaa..d831ca4f90a49500962d0d90e12c20c3e1bf4729 100644 |
| --- a/runtime/vm/thread_registry.h |
| +++ b/runtime/vm/thread_registry.h |
| @@ -12,6 +12,11 @@ |
| #include "vm/stack_frame.h" |
| #include "vm/thread.h" |
| +#ifndef PRODUCT |
| +class JSONStream; |
|
zra
2016/12/09 17:51:36
These should probably go inside 'namespace dart' b
bkonyi
2016/12/09 17:52:57
Done.
|
| +class JSONArray; |
| +#endif |
| + |
| namespace dart { |
| // Unordered collection of threads relating to a particular isolate. |
| @@ -28,6 +33,10 @@ class ThreadRegistry { |
| void PrepareForGC(); |
| Thread* mutator_thread() const { return mutator_thread_; } |
| +#ifndef PRODUCT |
| + void PrintJSON(JSONStream* stream) const; |
| +#endif |
| + |
| private: |
| Thread* active_list() const { return active_list_; } |
| Monitor* threads_lock() const { return threads_lock_; } |