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

Side by Side Diff: runtime/vm/metrics.cc

Issue 2984883002: Remove fields from Isolate in Product mode (Closed)
Patch Set: Address comments Created 3 years, 4 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 unified diff | Download patch
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #if !defined(PRODUCT)
6
5 #include "vm/metrics.h" 7 #include "vm/metrics.h"
6 8
7 #include "vm/isolate.h" 9 #include "vm/isolate.h"
8 #include "vm/json_stream.h" 10 #include "vm/json_stream.h"
9 #include "vm/log.h" 11 #include "vm/log.h"
10 #include "vm/native_entry.h" 12 #include "vm/native_entry.h"
11 #include "vm/object.h" 13 #include "vm/object.h"
12 #include "vm/runtime_entry.h" 14 #include "vm/runtime_entry.h"
13 15
14 namespace dart { 16 namespace dart {
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 set_value(kMaxInt64); 333 set_value(kMaxInt64);
332 } 334 }
333 335
334 void MinMetric::SetValue(int64_t new_value) { 336 void MinMetric::SetValue(int64_t new_value) {
335 if (new_value < value()) { 337 if (new_value < value()) {
336 set_value(new_value); 338 set_value(new_value);
337 } 339 }
338 } 340 }
339 341
340 } // namespace dart 342 } // namespace dart
343
344 #endif // !defined(PRODUCT)
OLDNEW
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698