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

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 2657283004: Modified service to include current native zone memory consumption information in the VM object. Ad… (Closed)
Patch Set: Created 3 years, 11 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/observatory/lib/src/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index 74a99ab385916efe704947feba59a7d4f7ebff54..4e633f6f774d8b8330ae3b6dd9b46a6298f2d502 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -659,6 +659,7 @@ abstract class VM extends ServiceObjectOwner implements M.VM {
int architectureBits;
bool assertsEnabled = false;
bool typeChecksEnabled = false;
+ int nativeZoneMemoryUsage = 0;
int pid = 0;
int maxRSS = 0;
bool profileVM = false;
@@ -946,6 +947,7 @@ abstract class VM extends ServiceObjectOwner implements M.VM {
int startTimeMillis = map['startTime'];
startTime = new DateTime.fromMillisecondsSinceEpoch(startTimeMillis);
refreshTime = new DateTime.now();
+ nativeZoneMemoryUsage = map['_nativeZoneMemoryUsage'];
Cutch 2017/01/31 17:15:23 if (map['_...']) != null) { nativeZoneMemoryUsag
bkonyi 2017/01/31 21:13:06 Done, but why is this check not done for other fie
pid = map['pid'];
maxRSS = map['_maxRSS'];
profileVM = map['_profilerMode'] == 'VM';

Powered by Google App Engine
This is Rietveld 408576698