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

Unified Diff: runtime/vm/object.cc

Issue 197853005: Show object pool on code page (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index ec96fea42ed59710a9b67fb6de8c01a3b0095f83..111367364adf390f4e4b9ccdd3cee450e7ffb8aa 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -10530,6 +10530,8 @@ void Code::PrintToJSONStream(JSONStream* stream, bool ref) const {
if (ref) {
return;
}
+ const Array& array = Array::Handle(ObjectPool());
+ jsobj.AddProperty("object_pool", array);
JSONArray jsarr(&jsobj, "disassembly");
if (is_alive()) {
// Only disassemble alive code objects.

Powered by Google App Engine
This is Rietveld 408576698