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

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..619fb923f23c46675ff5fd48ea37974e81b55e2e 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 RELEASE
Cutch 2016/12/06 19:11:15 This doesn't look like the right #ifdef
bkonyi 2016/12/08 18:04:14 Done.
+ void PrintToJSONObject(JSONObject* obj);
+#endif
+
private:
template <class T>
T* AllocateReusableHandle();

Powered by Google App Engine
This is Rietveld 408576698