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

Unified Diff: runtime/vm/thread.h

Issue 2554983002: Created methods to surface zone memory information for each isolate and thread in JSON. (Closed)
Patch Set: Created methods to surface zone memory information for each isolate and thread in JSON. Created 4 years 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/service.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread.h
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h
index a9fb55faaa400ba83db8891442d38e261236a283..01f16982527a05554a1863f5081ebfa59461f4ab 100644
--- a/runtime/vm/thread.h
+++ b/runtime/vm/thread.h
@@ -37,6 +37,7 @@ class Library;
class LongJumpScope;
class Object;
class OSThread;
+class JSONObject;
class PcDescriptors;
class RawBool;
class RawObject;
@@ -646,6 +647,10 @@ class Thread : public BaseThread {
void InitVMConstants();
+#ifndef PRODUCT
+ void PrintJSON(JSONStream* stream) const;
+#endif
+
private:
template <class T>
T* AllocateReusableHandle();
« no previous file with comments | « runtime/vm/service.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698