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

Unified Diff: runtime/vm/dart.cc

Issue 11428067: Merge the Merlin heap tracing to top-of-trunk. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add yet another missing file Created 8 years 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/dart.cc
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
index 4f6ee5b310121d4781e6a65cf5b740ff3cd8fb39..6bde780bb92963dec9f5d17c8ffc9734b87f888a 100644
--- a/runtime/vm/dart.cc
+++ b/runtime/vm/dart.cc
@@ -169,6 +169,9 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) {
}
StubCode::Init(isolate);
+ if (HeapTrace::is_enabled()) {
+ isolate->heap()->trace()->InitializeIsolateTracing(isolate);
+ }
isolate->heap()->EnableGrowthControl();
isolate->set_init_callback_data(data);
if (FLAG_print_class_table) {

Powered by Google App Engine
This is Rietveld 408576698