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

Unified Diff: runtime/vm/dart.cc

Issue 2984883002: Remove fields from Isolate in Product mode (Closed)
Patch Set: Address comments Created 3 years, 5 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/vm/block_scheduler.cc ('k') | runtime/vm/flag_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart.cc
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
index 42e16bb5e9673eac9443a229cda777485d7e370b..4553d1b5f9e483e93de952100bcda410fe1d6e92 100644
--- a/runtime/vm/dart.cc
+++ b/runtime/vm/dart.cc
@@ -155,7 +155,7 @@ char* Dart::InitOnce(const uint8_t* vm_isolate_snapshot,
Profiler::InitOnce();
}
SemiSpace::InitOnce();
- Metric::InitOnce();
+ NOT_IN_PRODUCT(Metric::InitOnce());
StoreBuffer::InitOnce();
MarkingStack::InitOnce();
@@ -372,7 +372,7 @@ const char* Dart::Cleanup() {
}
bool result = Thread::EnterIsolate(vm_isolate_);
ASSERT(result);
- Metric::Cleanup();
+ NOT_IN_PRODUCT(Metric::Cleanup());
Thread::ExitIsolate();
}
« no previous file with comments | « runtime/vm/block_scheduler.cc ('k') | runtime/vm/flag_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698