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

Unified Diff: runtime/vm/dart.cc

Issue 1425093006: Revert "Switch profiler from isolates to threads" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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/tests/vm/vm.status ('k') | runtime/vm/dart_api_impl.cc » ('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 06ae6cfc100f69f4d0d4c01b745a8de2409ce16f..0fd5fa7107ab09f8c749cd5202023ed1042bcf4e 100644
--- a/runtime/vm/dart.cc
+++ b/runtime/vm/dart.cc
@@ -298,6 +298,9 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) {
ObjectStore::Init(I);
}
+ // Setup for profiling.
+ Profiler::InitProfilingForIsolate(I);
+
const Error& error = Error::Handle(Object::Init(I));
if (!error.IsNull()) {
return error.raw();
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698