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

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
Index: runtime/vm/thread.h
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h
index a9fb55faaa400ba83db8891442d38e261236a283..2530c21755391f16ef36b089651fad6889872bfd 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();
+#if defined(DEBUG)
zra 2016/12/08 18:54:13 Don't we also want this in a RELEASE build? Should
bkonyi 2016/12/08 20:58:32 Done.
+ void PrintJSON(JSONStream* stream, bool ref = true) const;
zra 2016/12/08 18:54:13 Is this ever called with anything overriding the d
bkonyi 2016/12/08 20:58:32 Done.
+#endif
+
private:
template <class T>
T* AllocateReusableHandle();

Powered by Google App Engine
This is Rietveld 408576698