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

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: Changed field name in Observatory and added null check for new value. 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
« no previous file with comments | « runtime/observatory/lib/src/models/objects/vm.dart ('k') | runtime/vm/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..66133ad090823de6df16304ed079192311615515 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,9 @@ abstract class VM extends ServiceObjectOwner implements M.VM {
int startTimeMillis = map['startTime'];
startTime = new DateTime.fromMillisecondsSinceEpoch(startTimeMillis);
refreshTime = new DateTime.now();
+ if (map['_nativeZoneMemoryUsage'] != null) {
+ nativeZoneMemoryUsage = map['_nativeZoneMemoryUsage'];
+ }
pid = map['pid'];
maxRSS = map['_maxRSS'];
profileVM = map['_profilerMode'] == 'VM';
« no previous file with comments | « runtime/observatory/lib/src/models/objects/vm.dart ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698